Last active
October 7, 2019 09:53
-
-
Save dangtrinhnt/66eab84d7de94dd5529f684ead44c283 to your computer and use it in GitHub Desktop.
Exclude Istio's sidecar injection sample
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
apiVersion: batch/v1 | |
kind: Job | |
metadata: | |
name: MyService | |
namespace: ABC | |
spec: | |
template: | |
metadata: | |
annotations: | |
sidecar.istio.io/inject: "false" | |
name: MyService | |
spec: | |
containers: | |
- name: pi | |
image: perl | |
command: ["perl", "-Mbignum=bpi", "-wle", "print bpi(2000)"] | |
restartPolicy: Never | |
backoffLimit: 4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment