mirror of
https://github.com/KevinMidboe/kazan.git
synced 2025-10-29 01:30:15 +00:00
Updated microbot to use traefik ingress with FQN
This commit is contained in:
24
microbot/daemon.yml
Normal file
24
microbot/daemon.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
apiVersion: apps/v1
|
||||
kind: DaemonSet
|
||||
metadata:
|
||||
labels:
|
||||
app: microbot
|
||||
name: microbot-daemonset
|
||||
namespace: microbot
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: microbot
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: microbot
|
||||
spec:
|
||||
containers:
|
||||
- image: dontrebootme/microbot:v1
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: microbot
|
||||
resources: {}
|
||||
terminationMessagePath: /dev/termination-log
|
||||
terminationMessagePolicy: File
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
@@ -5,7 +6,7 @@ metadata:
|
||||
namespace: microbot
|
||||
spec:
|
||||
rules:
|
||||
- host: microbot.kazan.schleppe
|
||||
- host: microbot.kazan.schleppe.cloud
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
|
||||
13
microbot/svc-traefik.yml
Normal file
13
microbot/svc-traefik.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: microbot-service
|
||||
namespace: microbot
|
||||
spec:
|
||||
selector:
|
||||
app: microbot
|
||||
type: ClusterIP
|
||||
ports:
|
||||
- name: http
|
||||
port: 80
|
||||
Reference in New Issue
Block a user