Created
April 25, 2019 15:07
-
-
Save svennam92/3bafe1a5a2fef4b964bef685c650bb27 to your computer and use it in GitHub Desktop.
Kubernetes Deployment Video: Sample YAML
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: apps/v1 | |
kind: Deployment | |
metadata: | |
name: sample-deployment | |
labels: | |
app: sample | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: | |
app: sample | |
template: | |
metadata: | |
labels: | |
app: sample | |
spec: | |
containers: | |
- name: sample | |
image: sample:v1 | |
ports: | |
- containerPort: 80 | |
environment: | |
CONFIG_SERVER: https://server:38023 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment