dashanji commented on a change in pull request #14:
URL: https://github.com/apache/skywalking-showcase/pull/14#discussion_r775126619



##########
File path: deploy/platform/kubernetes/features.mk
##########
@@ -81,3 +81,31 @@ undeploy.feature-kubernetes-monitor:
        @kubectl delete --ignore-not-found -f 
https://raw.githubusercontent.com/kubernetes/kube-state-metrics/v2.2.4/examples/standard/cluster-role-binding.yaml
        @kubectl delete --ignore-not-found -f 
https://raw.githubusercontent.com/kubernetes/kube-state-metrics/v2.2.4/examples/standard/service.yaml
        @kubectl delete --ignore-not-found -f 
https://raw.githubusercontent.com/kubernetes/kube-state-metrics/v2.2.4/examples/standard/deployment.yaml
+
+# @feature: java-agent-injector; use the java agent injector to inject the 
java agent more natively
+.PHONY: feature-java-agent-injector
+feature-java-agent-injector:
+
+# @feature: java-agent-injector; the swck operator depends on the certificate 
management of the cert-manager
+.PHONY: install-cert-manager
+install-cert-manager:
+       @kubectl apply -f 
https://github.com/jetstack/cert-manager/releases/download/v1.3.1/cert-manager.yaml
+       @sh ../../../scripts/wait-cert-manager-ready.sh
+
+# @feature: java-agent-injector; the java agent injector is a component of the 
swck operator, so we need to deploy the swck operator firstly
+.PHONY: deploy.feature-java-agent-injector
+deploy.feature-java-agent-injector: install-cert-manager
+       @curl -Ls 
https://dlcdn.apache.org/skywalking/swck/0.5.0/skywalking-swck-0.5.0-bin.tgz | 
tar -xf - -O ./config/operator-bundle.yaml | kubectl apply -f -

Review comment:
       Yep, I will change it.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to