joylive-injector
by JoyLive
A Helm chart for webhook automatically injected by JoyLive Agent
About this chart
joylive-injector
English | 简体中文
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-agentinto Pods of Java applications. - Supports multi-version
joylive-agentand corresponding configuration management. - Support injection of specified version
joylive-agentand 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:
helm repo add joylive https://jd-opensource.github.io/joylive-helm-charts
helm repo update
kubectl create namespace joylive
helm install joylive-injector joylive/joylive-injector -n joylive
Deploy joylive-injector with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has joylive-injector on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartjoylive-injector is pinned at v1.3.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply