Created
April 25, 2020 15:03
-
-
Save wshihadeh/49a5801d7ff4cb054a927ecf1673c1d9 to your computer and use it in GitHub Desktop.
Ingress Default Backend
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: default-http-backend | |
labels: | |
app: default-http-backend | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: default-http-backend | |
template: | |
metadata: | |
labels: | |
app: default-http-backend | |
spec: | |
terminationGracePeriodSeconds: 60 | |
containers: | |
- name: default-http-backend | |
image: gcr.io/google_containers/defaultbackend:1.4 | |
livenessProbe: | |
httpGet: | |
path: /healthz | |
port: 8080 | |
scheme: HTTP | |
initialDelaySeconds: 30 | |
timeoutSeconds: 5 | |
ports: | |
- containerPort: 8080 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: default-http-backend | |
labels: | |
app: default-http-backend | |
spec: | |
type: ClusterIP | |
ports: | |
- port: 80 | |
targetPort: 8080 | |
selector: | |
app: default-http-backend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment