Created
December 13, 2017 19:45
-
-
Save kostyrev/53d8ee9aea8ab8902d4475abf1416114 to your computer and use it in GitHub Desktop.
nginx-echo-headers
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: v1 | |
kind: Service | |
metadata: | |
name: nginx-echo-headers | |
labels: | |
app: nginx-echo-headers | |
spec: | |
type: ClusterIP | |
ports: | |
- port: 80 | |
targetPort: 8080 | |
protocol: TCP | |
name: nginx-echo-headers | |
selector: | |
app: nginx-echo-headers | |
--- | |
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: nginx-echo-headers | |
labels: | |
app: nginx-echo-headers | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: nginx-echo-headers | |
spec: | |
containers: | |
- name: nginx-echo-headers | |
image: "brndnmtthws/nginx-echo-headers:latest" | |
imagePullPolicy: Always | |
ports: | |
- containerPort: 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment