Skip to content

Instantly share code, notes, and snippets.

@rdpetrusek
Created October 6, 2021 17:46
Show Gist options
  • Select an option

  • Save rdpetrusek/0c3d2697f7df72e40b31217e9a686dd0 to your computer and use it in GitHub Desktop.

Select an option

Save rdpetrusek/0c3d2697f7df72e40b31217e9a686dd0 to your computer and use it in GitHub Desktop.
Kubernetes, Istio, Cert Manager, and Let's Encrypt - test page
apiVersion: apps/v1
kind: Deployment
metadata:
name: test-app
spec:
selector:
matchLabels:
app: test-app
template:
metadata:
labels:
app: test-app
spec:
containers:
- name: test-app
image: nginxdemos/hello
resources:
limits:
memory: "128Mi"
cpu: "500m"
ports:
- containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
name: testpage
spec:
selector:
app: test-app
ports:
- protocol: TCP
port: 8080
targetPort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment