Last active
November 9, 2018 03:46
-
-
Save sudermanjr/8baaf305c4178d197dc69b2f4aba271e to your computer and use it in GitHub Desktop.
Kube 202 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: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
labels: | |
app: nginx | |
color: green | |
name: test | |
namespace: testing | |
spec: | |
selector: | |
matchLabels: | |
app: nginx | |
template: | |
metadata: | |
labels: | |
app: nginx | |
color: green | |
spec: | |
containers: | |
- image: nginx:1.15.3 | |
imagePullPolicy: IfNotPresent | |
name: nginx | |
ports: | |
- containerPort: 80 | |
protocol: TCP | |
resources: | |
limits: | |
cpu: 100m | |
memory: 64Mi | |
requests: | |
cpu: 100m | |
memory: 64Mi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment