Created
July 27, 2020 06:13
-
-
Save onefoursix/17824683845c748ed2e17bd2e1a1ece4 to your computer and use it in GitHub Desktop.
example-sdc-deployment.yaml
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: 1 | |
kind: List | |
items: | |
- apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: auth-sdc | |
namespace: ns1 | |
spec: | |
selector: | |
matchLabels: | |
app: auth-sdc | |
template: | |
metadata: | |
labels: | |
app: auth-sdc | |
spec: | |
serviceAccountName: sdc | |
containers: | |
- name: auth-sdc | |
image: onefoursix/sdc-aws:3.17.0-latest | |
imagePullPolicy: Always | |
ports: | |
- containerPort: 18630 | |
env: | |
- name: SDC_JAVA_OPTS | |
value: "-Xmx2g -Xms2g" | |
- name: SDC_CONF_SDC_BASE_HTTP_URL | |
value: https://streamsets.onefoursix.net | |
- name: SDC_CONF_HTTP_ENABLE_FORWARDED_REQUESTS | |
value: true | |
securityContext: | |
fsGroup: 65534 | |
- apiVersion: v1 | |
kind: Service | |
metadata: | |
name: auth-sdc | |
namespace: ns1 | |
labels: | |
app: auth-sdc | |
spec: | |
type: NodePort | |
ports: | |
- name: http | |
port: 18635 | |
targetPort: 18630 | |
protocol: TCP | |
selector: | |
app: auth-sdc | |
- apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: auth-sdc | |
namespace: ns1 | |
annotations: | |
kubernetes.io/ingress.class: nginx | |
spec: | |
tls: | |
- hosts: | |
- streamsets.onefoursix.net | |
secretName: streamsets-tls | |
rules: | |
- host: streamsets.onefoursix.net | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: auth-sdc | |
servicePort: 18635 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment