-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8839e87
commit dacec88
Showing
5 changed files
with
52 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# joylive-injector | ||
|
||
[![GitHub repo](https://img.shields.io/badge/GitHub-repo-blue)](https://github.com/jd-opensource/joylive-injector) | ||
[![GitHub release](https://img.shields.io/github/release/jd-opensource/joylive-injector.svg)](https://github.com/jd-opensource/joylive-injector/releases) | ||
[![Slack Status](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](https://joylivehq.slack.com) | ||
|
||
[English](./README.md) | 简体中文 | ||
|
||
## 介绍 | ||
这是一个针对kubernetes的动态准入控制webhook,它可以用于修改`kubernete`资源。 | ||
此程序监视`deployments`的CREATE、UPDATE、DELETE事件和`pods`的CREATE事件,并为`POD`添加initContainer、默认增加环境变量`JAVA_TOOL_OPTIONS`、挂载configmap、修改主容器的卷装载等操作。 | ||
|
||
## 特性 | ||
- 支持自动将`joylive-agent`注入Java应用的Pod。 | ||
- 支持多版本`joylive-agent`与对应配置管理。 | ||
- 支持注入指定版本`joylive-agent`及对应配置。 | ||
|
||
## 使用方式 | ||
|
||
因证书签名已按照命名空间为`joylive`预生成,所以须指定安装到对应命名空间。 执行命令: | ||
```bash | ||
helm repo add joylive https://jd-opensource.github.io/joylive-helm-charts | ||
kubectl create namespace joylive | ||
helm install joylive-injector joylive/joylive-injector -n joylive | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# joylive-injector | ||
|
||
[![GitHub repo](https://img.shields.io/badge/GitHub-repo-blue)](https://github.com/jd-opensource/joylive-injector) | ||
[![GitHub release](https://img.shields.io/github/release/jd-opensource/joylive-injector.svg)](https://github.com/jd-opensource/joylive-injector/releases) | ||
[![Slack Status](https://img.shields.io/badge/slack-join_chat-white.svg?logo=slack&style=social)](https://joylivehq.slack.com) | ||
|
||
English | [简体中文](./README-zh.md) | ||
|
||
## Description | ||
This is a dynamic admission control webhook for kubernetes, it can be used to mutate kubernetes resources. | ||
This program monitors the `CREATE`, `UPDATE`, `DELETE` events for `deployments` and the `CREATE` events for `pods` and adds the initContainer for `Pod` , adds the environment variable `JAVA_TOOL_OPTIONS` by default, mounts the configmap, modifies the volume load for the main container, and so on. | ||
|
||
## Features | ||
- Supports automatically injecting `joylive-agent` into Pods of Java applications. | ||
- Supports multi-version `joylive-agent` and corresponding configuration management. | ||
- Support injection of specified version `joylive-agent` and corresponding configuration. | ||
|
||
## Used | ||
Since the certificate signature has been pre-generated according to the namespace `joylive`, it is necessary to specify installation to the corresponding namespace. Execute the command: | ||
```bash | ||
helm repo add joylive https://jd-opensource.github.io/joylive-helm-charts | ||
kubectl create namespace joylive | ||
helm install joylive-injector joylive/joylive-injector -n joylive | ||
``` |
Binary file not shown.