@@ -0,0 +1,22 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+ name: example-deployment
+ namespace: your-namespace
+ labels:
+ app: example-app
+spec:
+ replicas: 3 # how many pods?
+ selector:
+ matchLabels:
+ template:
+ metadata:
+ spec:
+ containers:
+ - name: nginx
+ image: nginx:latest
+ ports:
+ - containerPort: 80
@@ -0,0 +1,12 @@
+apiVersion: v1
+kind: Service
+ name: example-service
+ app.kubernetes.io/name: MyApp
+ - protocol: TCP
+ port: 80
+ targetPort: 9376
@@ -14,13 +14,13 @@ service:
# type: ClusterIP
# (Optional) Add Ingress, when using ClusterIP
-# ingress:
-# enabled: true
-# hosts:
-# - host: "portainer-test-1.kube-prod-2.home.clcreative.de"
-# paths:
-# - path: "/"
-# port: "9000"
+ingress:
+ enabled: true
+ hosts:
+ - host: "portainer-test-1.kube-prod-2.home.clcreative.de"
+ paths:
+ - path: "/"
+ port: "9000"
# -- end
persistence:
@@ -0,0 +1,20 @@
+apiVersion: traefik.io/v1alpha1
+kind: IngressRoute
+ name: ingressroute
+ # (Optional) Namespace
+ # namespace: your-namespace
+ # ---
+ entryPoints:
+ - web
+ - websecure
+ routes:
+ - match: Host(`your-hostname`)
+ kind: Rule
+ services:
+ - name: your-service
+ # (Optional) TLS
+ # tls:
+ # secretName: your-tls-secret
@@ -1,4 +1,4 @@
-apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteTCP
metadata:
name: ingressroutetcp