Created
April 28, 2022 03:39
-
-
Save tobybellwood/676e1e2fffd49a29650ae06a53887b5a 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: v1 | |
kind: Service | |
metadata: | |
name: odfe-node1 | |
namespace: opendistro | |
spec: | |
type: ExternalName | |
externalName: odfe-node1 | |
ports: | |
- name: tcp-9200 | |
port: 9200 | |
protocol: TCP | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: odfe-kibana | |
namespace: opendistro | |
spec: | |
type: ExternalName | |
externalName: odfe-kibana | |
ports: | |
- name: tcp-5601 | |
port: 5601 | |
protocol: TCP | |
--- | |
apiVersion: networking.k8s.io/v1 | |
kind: Ingress | |
metadata: | |
name: odfe-node1 | |
namespace: opendistro | |
annotations: | |
nginx.ingress.kubernetes.io/rewrite-target: / | |
spec: | |
rules: | |
- host: odfe-node1.172.17.0.2.nip.io | |
http: | |
paths: | |
- path: / | |
pathType: Prefix | |
backend: | |
service: | |
name: odfe-node1 | |
port: | |
number: 9200 | |
--- | |
apiVersion: networking.k8s.io/v1 | |
kind: Ingress | |
metadata: | |
name: odfe-kibana | |
namespace: opendistro | |
annotations: | |
nginx.ingress.kubernetes.io/rewrite-target: / | |
spec: | |
rules: | |
- host: odfe-kibana.172.17.0.2.nip.io | |
http: | |
paths: | |
- path: / | |
pathType: Prefix | |
backend: | |
service: | |
name: odfe-kibana | |
port: | |
number: 5601 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment