Created
September 20, 2021 11:57
-
-
Save kun432/e29dd1c14f28806ed3acb1f6c66322c1 to your computer and use it in GitHub Desktop.
deploymentのサンプル
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: | |
labels: | |
app: bootcamp | |
name: bootcamp-deployment | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: | |
app: bootcamp | |
template: | |
metadata: | |
labels: | |
app: bootcamp | |
spec: | |
containers: | |
- image: gcr.io/google-samples/kubernetes-bootcamp:v1 | |
name: bootcamp | |
ports: | |
- name: "http" | |
containerPort: 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment