Last active
March 1, 2020 01:43
-
-
Save alicek106/1223f498b50a3973ad9e462643368486 to your computer and use it in GitHub Desktop.
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: ingress-annotation-test-spring | |
namespace: default | |
labels: | |
app: ingress-annotation-test-spring | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: ingress-annotation-test-spring | |
template: | |
metadata: | |
labels: | |
app: ingress-annotation-test-spring | |
spec: | |
containers: | |
- name: ingress-annotation-test-spring | |
image: alicek106/ingress-annotation-test:spring-jaeger | |
ports: | |
- name: web | |
containerPort: 80 | |
imagePullPolicy: Always | |
env: | |
- name: CONF_JAEGER_HOST | |
valueFrom: | |
fieldRef: | |
fieldPath: status.hostIP | |
- name: CONF_JAEGER_PORT | |
value: "6831" | |
- name: CONF_SLEEP_ENABLED | |
value: "true" | |
- name: CONF_JAEGER_ENABLED | |
value: "true" | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: ingress-annotation-test-spring-svc | |
spec: | |
ports: | |
- name: web | |
port: 80 | |
targetPort: web | |
selector: | |
app: ingress-annotation-test-spring | |
type: ClusterIP |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment