Last active
October 31, 2020 14:35
-
-
Save DevopsVlogger/f15dc0278f4bf7a2ecc9d07a255b9175 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: my-dep | |
namespace: default | |
spec: | |
replicas: 2 | |
selector: | |
matchLabels: | |
app: my-dep | |
template: | |
metadata: | |
labels: | |
app: my-dep | |
spec: | |
containers: | |
- image: gcr.io/google-samples/hello-app:1.0 | |
imagePullPolicy: Always | |
name: my-dep | |
ports: | |
- containerPort: 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment