Skip to content

Instantly share code, notes, and snippets.

@PyDataBlog
Created June 25, 2022 15:09
Show Gist options
  • Save PyDataBlog/4f98e3caa086b82311d14369f7a099c8 to your computer and use it in GitHub Desktop.
Save PyDataBlog/4f98e3caa086b82311d14369f7a099c8 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
name: myapp
namespace: ingress-demo
spec:
replicas: 10
selector:
matchLabels:
app: myapp
template:
metadata:
labels:
app: myapp
spec:
containers:
- name: myapp
image: gcr.io/google-samples/hello-app:1.0
imagePullPolicy: Always
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 8080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment