change namespace and fix name
This commit is contained in:
parent
ff19ca0fff
commit
b2db664d31
@ -17,7 +17,7 @@ Watches log directory for logs, and ships them to mongo.
|
|||||||
|
|
||||||
## Skaffold
|
## Skaffold
|
||||||
```bash
|
```bash
|
||||||
export NS=gitdbd-iig6x
|
export NS=gitdbd-hbsci
|
||||||
kubectl apply -f k8s/dev/mongodb.yaml -n "$NS"
|
kubectl apply -f k8s/dev/mongodb.yaml -n "$NS"
|
||||||
kubectl apply -f k8s/dev/prom.yaml -n "$NS"
|
kubectl apply -f k8s/dev/prom.yaml -n "$NS"
|
||||||
skaffold dev --namespace "$NS"
|
skaffold dev --namespace "$NS"
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: DaemonSet
|
kind: DaemonSet
|
||||||
metadata:
|
metadata:
|
||||||
name: log-shipper
|
name: logmower-shipper
|
||||||
spec:
|
spec:
|
||||||
updateStrategy:
|
updateStrategy:
|
||||||
type: RollingUpdate
|
type: RollingUpdate
|
||||||
@ -9,15 +9,15 @@ spec:
|
|||||||
maxUnavailable: 50%
|
maxUnavailable: 50%
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: log-shipper
|
app: logmower-shipper
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: log-shipper
|
app: logmower-shipper
|
||||||
spec:
|
spec:
|
||||||
serviceAccountName: log-shipper
|
serviceAccountName: logmower-shipper
|
||||||
containers:
|
containers:
|
||||||
- name: log-shipper
|
- name: logmower-shipper
|
||||||
image: harbor.k-space.ee/rasmus/logmower-shipper
|
image: harbor.k-space.ee/rasmus/logmower-shipper
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsUser: 0
|
runAsUser: 0
|
||||||
@ -73,6 +73,6 @@ spec:
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ServiceAccount
|
kind: ServiceAccount
|
||||||
metadata:
|
metadata:
|
||||||
name: log-shipper
|
name: logmower-shipper
|
||||||
labels:
|
labels:
|
||||||
app: log-shipper
|
app: logmower-shipper
|
||||||
|
@ -150,10 +150,10 @@ metadata:
|
|||||||
kubernetes.io/ingress.class: traefik
|
kubernetes.io/ingress.class: traefik
|
||||||
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
||||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||||
external-dns.alpha.kubernetes.io/target: traefik-iig6x.codemowers.ee
|
external-dns.alpha.kubernetes.io/target: traefik-hbsci.codemowers.ee
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: mongoexpress-iig6x.codemowers.ee
|
- host: mongoexpress-hbsci.codemowers.ee
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- pathType: Prefix
|
- pathType: Prefix
|
||||||
|
Loading…
Reference in New Issue
Block a user