Last active
September 17, 2018 21:20
-
-
Save mauilion/2c08c779857ee6c6671dbbd6a495336d 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: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: headers | |
labels: | |
run: header | |
spec: | |
rules: | |
- http: | |
paths: | |
- path: /headers | |
backend: | |
serviceName: headers | |
servicePort: 8080 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
creationTimestamp: null | |
name: headers | |
spec: | |
ports: | |
- port: 8080 | |
protocol: TCP | |
targetPort: 8080 | |
selector: | |
run: headers | |
status: | |
loadBalancer: {} | |
--- | |
apiVersion: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
creationTimestamp: null | |
labels: | |
run: headers | |
name: headers | |
spec: | |
replicas: 3 | |
selector: | |
matchLabels: | |
run: headers | |
strategy: {} | |
template: | |
metadata: | |
creationTimestamp: null | |
labels: | |
run: headers | |
spec: | |
containers: | |
- image: k8s.gcr.io/echoserver:1.4 | |
name: headers | |
ports: | |
- containerPort: 8080 | |
resources: {} | |
status: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment