Created
August 3, 2020 09:28
-
-
Save IronCore864/0d30b77fc8f86b158e58b47149a3624c to your computer and use it in GitHub Desktop.
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: test | |
namespace: default | |
labels: | |
app: nginx | |
spec: | |
replicas: 4 | |
selector: | |
matchLabels: | |
app: nginx | |
template: | |
metadata: | |
labels: | |
app: nginx | |
spec: | |
containers: | |
- name: nginx | |
image: nginx:1.14.2 | |
ports: | |
- containerPort: 80 | |
resources: | |
requests: | |
memory: "4Gi" | |
cpu: "1000m" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment