Removing longhorn

This commit is contained in:
Moritz Graf 2020-06-20 17:28:03 +02:00
parent 4ad680afdf
commit c02cd550a9
4 changed files with 46 additions and 44 deletions

View File

@ -68,7 +68,9 @@ Check the current default value of `kube_version` in cloned repository.
```sh
cd kubespray
ansible-playbook -i inventory/prod/inventory.ini -e kube_version=v1.17.5 -e upgrade_cluster_setup=true cluster.yml
ansible-playbook -i inventory/prod/inventory.ini -e kube_version=v1.17.7 -e upgrade_cluster_setup=true cluster.yml
# or just the newest version
ansible-playbook -i inventory/prod/inventory.ini -e upgrade_cluster_setup=true cluster.yml
```
History:

View File

@ -1,28 +1,28 @@
# ### status: works, but is not secure
# # ### status: works, but is not secure
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: longhorn-frontend
namespace: longhorn-system
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
nginx.ingress.kubernetes.io/auth-type: basic
nginx.ingress.kubernetes.io/auth-secret: htpasswd
nginx.ingress.kubernetes.io/auth-realm: "Authentication Required - ok"
spec:
tls:
- hosts:
- "longhorn.haumdaucher.de"
secretName: longhorn-haumdaucher-de
rules:
- host: longhorn.haumdaucher.de
http:
paths:
- path: /
backend:
serviceName: longhorn-frontend
servicePort: 80
# apiVersion: extensions/v1beta1
# kind: Ingress
# metadata:
# name: longhorn-frontend
# namespace: longhorn-system
# annotations:
# kubernetes.io/ingress.class: "nginx"
# nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
# cert-manager.io/cluster-issuer: "letsencrypt-prod"
# nginx.ingress.kubernetes.io/auth-type: basic
# nginx.ingress.kubernetes.io/auth-secret: htpasswd
# nginx.ingress.kubernetes.io/auth-realm: "Authentication Required - ok"
# spec:
# tls:
# - hosts:
# - "longhorn.haumdaucher.de"
# secretName: longhorn-haumdaucher-de
# rules:
# - host: longhorn.haumdaucher.de
# http:
# paths:
# - path: /
# backend:
# serviceName: longhorn-frontend
# servicePort: 80

View File

@ -1,18 +1,18 @@
# status: implemented
# # status: implemented
apiVersion: helm.fluxcd.io/v1
kind: HelmRelease
metadata:
name: helm-longhorn
namespace: flux
spec:
releaseName: longhorn
targetNamespace: longhorn-system
chart:
git: https://github.com/longhorn/longhorn.git
path: "chart/"
ref: "v0.8.0"
values:
# defaultSettings:
# backupTarget:
# backupTargetCredentialSecret:
# apiVersion: helm.fluxcd.io/v1
# kind: HelmRelease
# metadata:
# name: helm-longhorn
# namespace: flux
# spec:
# releaseName: longhorn
# targetNamespace: longhorn-system
# chart:
# git: https://github.com/longhorn/longhorn.git
# path: "chart/"
# ref: "v0.8.0"
# values:
# # defaultSettings:
# # backupTarget:
# # backupTargetCredentialSecret: