Commenting kuard out, as it is only for dev

This commit is contained in:
Moritz Graf 2020-04-11 22:31:16 +02:00
parent d74a839bc5
commit c6528ddc51
4 changed files with 54 additions and 56 deletions

View File

@ -93,8 +93,6 @@ kubectl apply -f datalab/rstudio.yaml
## Add private docker registry
*Current state:* Registry of hub.moritzgraf.de:5000 is used.
```sh
# create secret base64 encoded and put it in htpasswd helm chart
USER='moritz'

View File

@ -1,21 +1,21 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: kuard
namespace: kuard
spec:
selector:
matchLabels:
app: kuard
replicas: 1
template:
metadata:
labels:
app: kuard
spec:
containers:
- image: gcr.io/kuar-demo/kuard-amd64:1
imagePullPolicy: Always
name: kuard
ports:
- containerPort: 8080
# apiVersion: apps/v1
# kind: Deployment
# metadata:
# name: kuard
# namespace: kuard
# spec:
# selector:
# matchLabels:
# app: kuard
# replicas: 1
# template:
# metadata:
# labels:
# app: kuard
# spec:
# containers:
# - image: gcr.io/kuar-demo/kuard-amd64:1
# imagePullPolicy: Always
# name: kuard
# ports:
# - containerPort: 8080

View File

@ -1,22 +1,22 @@
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: kuard
namespace: kuard
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
# apiVersion: extensions/v1beta1
# kind: Ingress
# metadata:
# name: kuard
# namespace: kuard
# annotations:
# kubernetes.io/ingress.class: "nginx"
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
spec:
tls:
- hosts:
- "kuard.haumdaucher.de"
secretName: kuard-haumdaucher
rules:
- host: kuard.haumdaucher.de
http:
paths:
- path: /
backend:
serviceName: kuard
servicePort: 80
# spec:
# tls:
# - hosts:
# - "kuard.haumdaucher.de"
# secretName: kuard-haumdaucher
# rules:
# - host: kuard.haumdaucher.de
# http:
# paths:
# - path: /
# backend:
# serviceName: kuard
# servicePort: 80

View File

@ -1,12 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: kuard
namespace: kuard
spec:
ports:
- port: 80
targetPort: 8080
protocol: TCP
selector:
app: kuard
# apiVersion: v1
# kind: Service
# metadata:
# name: kuard
# namespace: kuard
# spec:
# ports:
# - port: 80
# targetPort: 8080
# protocol: TCP
# selector:
# app: kuard