Created
April 4, 2018 20:47
-
-
Save mak2099/09b2ec7fc38241fa80620e32bde125d4 to your computer and use it in GitHub Desktop.
myservice.json
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
{ | |
"EndpointSpec": { | |
"Ports": [ | |
{ | |
"Protocol": "tcp", | |
"PublishedPort": 8080, | |
"TargetPort": 80 | |
} | |
] | |
}, | |
"Name": "demo", | |
"TaskTemplate": { | |
"ContainerSpec": { | |
"Image": "nginx:latest", | |
"Secrets": [ | |
{ | |
"File": { | |
"GID": "33", | |
"Mode": 384, | |
"Name": "test_secret", | |
"UID": "33" | |
}, | |
"SecretID": "54jjrkdeau2p0imm9zov6fw7r", | |
"SecretName": "test_secret" | |
} | |
] | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment