Adding current state of minio upgrade and home assistant

This commit is contained in:
Moritz Graf 2024-11-03 13:35:58 +01:00
parent ea45224d0f
commit e5c8ea7793
3 changed files with 43 additions and 44 deletions

View File

@ -11,18 +11,18 @@ kube_kubeadm_apiserver_extra_args:
# the kubernetes normally puts in /srv/kubernetes. # the kubernetes normally puts in /srv/kubernetes.
# This puts them in a sane location and namespace. # This puts them in a sane location and namespace.
# Editing those values will almost surely break something. # Editing those values will almost surely break something.
kube_config_dir: /etc/kubernetes # kube_config_dir: /etc/kubernetes
kube_script_dir: "{{ bin_dir }}/kubernetes-scripts" # kube_script_dir: "{{ bin_dir }}/kubernetes-scripts"
kube_manifest_dir: "{{ kube_config_dir }}/manifests" # kube_manifest_dir: "{{ kube_config_dir }}/manifests"
# This is where all the cert scripts and certs will be located # # This is where all the cert scripts and certs will be located
kube_cert_dir: "{{ kube_config_dir }}/ssl" # kube_cert_dir: "{{ kube_config_dir }}/ssl"
# This is where all of the bearer tokens will be stored # # This is where all of the bearer tokens will be stored
kube_token_dir: "{{ kube_config_dir }}/tokens" # kube_token_dir: "{{ kube_config_dir }}/tokens"
# This is where to save basic auth file # # This is where to save basic auth file
kube_users_dir: "{{ kube_config_dir }}/users" # kube_users_dir: "{{ kube_config_dir }}/users"
kube_api_anonymous_auth: true kube_api_anonymous_auth: true
@ -32,21 +32,21 @@ kube_version: v1.27.10
# kubernetes image repo define # kubernetes image repo define
#kube_image_repo: "k8s.gcr.io" #kube_image_repo: "k8s.gcr.io"
# Where the binaries will be downloaded. # # Where the binaries will be downloaded.
# Note: ensure that you've enough disk space (about 1G) # # Note: ensure that you've enough disk space (about 1G)
local_release_dir: "/tmp/releases" # local_release_dir: "/tmp/releases"
# Random shifts for retrying failed ops like pushing/downloading # # Random shifts for retrying failed ops like pushing/downloading
retry_stagger: 5 # retry_stagger: 5
# This is the group that the cert creation scripts chgrp the # # This is the group that the cert creation scripts chgrp the
# cert files to. Not really changeable... # # cert files to. Not really changeable...
kube_cert_group: kube-cert # kube_cert_group: kube-cert
# Cluster Loglevel configuration # # Cluster Loglevel configuration
kube_log_level: 2 # kube_log_level: 2
# Directory where credentials will be stored # # Directory where credentials will be stored
credentials_dir: "{{ inventory_dir }}/credentials" # credentials_dir: "{{ inventory_dir }}/credentials"
# Users to create for basic auth in Kubernetes API via HTTP # Users to create for basic auth in Kubernetes API via HTTP
# Optionally add groups for user # Optionally add groups for user
@ -93,28 +93,28 @@ kube_network_plugin: flannel
#kube_network_plugin: calico #kube_network_plugin: calico
# Setting multi_networking to true will install Multus: https://github.com/intel/multus-cni # # Setting multi_networking to true will install Multus: https://github.com/intel/multus-cni
kube_network_plugin_multus: false # kube_network_plugin_multus: false
# Kubernetes internal network for services, unused block of space. # # Kubernetes internal network for services, unused block of space.
kube_service_addresses: 10.233.0.0/18 # kube_service_addresses: 10.233.0.0/18
# internal network. When used, it will assign IP # internal network. When used, it will assign IP
# addresses from this range to individual pods. # addresses from this range to individual pods.
# This network must be unused in your network infrastructure! # This network must be unused in your network infrastructure!
kube_pods_subnet: 10.233.64.0/18 kube_pods_subnet: 10.233.64.0/18
# internal network node size allocation (optional). This is the size allocated # # internal network node size allocation (optional). This is the size allocated
# to each node on your network. With these defaults you should have # # to each node on your network. With these defaults you should have
# room for 4096 nodes with 254 pods per node. # # room for 4096 nodes with 254 pods per node.
kube_network_node_prefix: 24 # kube_network_node_prefix: 24
# The port the API Server will be listening on. # # The port the API Server will be listening on.
kube_apiserver_ip: "{{ kube_service_addresses|ipaddr('net')|ipaddr(1)|ipaddr('address') }}" # kube_apiserver_ip: "{{ kube_service_addresses|ipaddr('net')|ipaddr(1)|ipaddr('address') }}"
kube_apiserver_port: 6443 # (https) # kube_apiserver_port: 6443 # (https)
# kube_apiserver_insecure_port: 8080 # (http) # # kube_apiserver_insecure_port: 8080 # (http)
# Set to 0 to disable insecure port - Requires RBAC in authorization_modes and kube_api_anonymous_auth: true # # Set to 0 to disable insecure port - Requires RBAC in authorization_modes and kube_api_anonymous_auth: true
kube_apiserver_insecure_port: 0 # (disabled) # kube_apiserver_insecure_port: 0 # (disabled)
# Kube-proxy proxyMode configuration. # Kube-proxy proxyMode configuration.
# Can be ipvs, iptables # Can be ipvs, iptables

View File

@ -85,14 +85,14 @@ Switching to [Bitnami chart](https://artifacthub.io/packages/helm/bitnami/minio)
Links: Links:
* [minio-console.haumdaucher.de](minio-console.haumdaucher.de) * [minio-console.haumdaucher.de](https://minio-console.haumdaucher.de)
* [minio.haumdaucher.de](minio.haumdaucher.de) * [minio.haumdaucher.de](https://minio.haumdaucher.de)
```sh ```sh
helm repo add bitnami https://charts.bitnami.com/bitnami helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update helm repo update
# 11.02.2024: Removed and reinstalled due to upgrade problem # 11.02.2024: Removed and reinstalled due to upgrade problem
helm upgrade --install -f minio/minio.secret.yaml --namespace minio --create-namespace minio bitnami/minio --version 13.4.5 helm upgrade --install -f minio/minio.secret.yaml --namespace minio --create-namespace minio bitnami/minio --version 14.8.1
``` ```
## velero ## velero

View File

@ -79,15 +79,14 @@ configuration:
automation: !include automations.yaml automation: !include automations.yaml
script: !include scripts.yaml script: !include scripts.yaml
scene: !include scenes.yaml scene: !include scenes.yaml
# moritz custom config # # moritz custom config
prometheus:
namespace: hass
influxdb: influxdb:
host: influxdb-influxdb2.influxdb.svc.cluster.local host: influxdb-influxdb2.influxdb.svc.cluster.local
port: 80 port: 80
database: default api_version: 2
username: admin bucket: default
password: enaiY9yaiWi6ahv0phoph3FaiphoGh organization: influxdata
token: enaiY9yaiWi6ahv0phoph3FaiphoGh
ssl: false ssl: false
verify_ssl: false verify_ssl: false
max_retries: 3 max_retries: 3