cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit 130938d60bc7502fe51ca104acf9b027732602f3
parent a048e52acbec7732039fb207c2fa913742115ca7
Author: MTRNord <mtrnord1@gmail.com>
Date:   Wed, 29 May 2024 12:59:53 +0200

Start caching

Diffstat:
Minfrastructure/controllers/kube-fledged.yaml | 44++++++++++++++++++++------------------------
1 file changed, 20 insertions(+), 24 deletions(-)

diff --git a/infrastructure/controllers/kube-fledged.yaml b/infrastructure/controllers/kube-fledged.yaml @@ -1,4 +1,3 @@ ---- apiVersion: v1 kind: Namespace metadata: @@ -29,25 +28,23 @@ spec: namespace: kube-fledged interval: 12h values: {} -# --- -# apiVersion: kubefledged.io/v1alpha2 -# kind: ImageCache -# metadata: -# # Name of the image cache. A cluster can have multiple image cache objects -# name: imagecache -# namespace: kube-fledged -# spec: -# # The "cacheSpec" field allows a user to define a list of images and onto which worker nodes those images should be cached (i.e. pre-pulled). -# cacheSpec: -# # Specifies a list of images (nginx:1.23.1) with no node selector, hence these images will be cached in all the nodes in the cluster -# - images: -# - ghcr.io/jitesoft/nginx:1.23.1 -# # Specifies a list of images (cassandra:v7 and etcd:3.5.4-0) with a node selector, hence these images will be cached only on the nodes selected by the node selector -# - images: -# - us.gcr.io/k8s-artifacts-prod/cassandra:v7 -# - us.gcr.io/k8s-artifacts-prod/etcd:3.5.4-0 -# nodeSelector: -# tier: backend -# # Specifies a list of image pull secrets to pull images from private repositories into the cache -# imagePullSecrets: -# - name: myregistrykey -\ No newline at end of file +--- +apiVersion: kubefledged.io/v1alpha2 +kind: ImageCache +metadata: + # Name of the image cache. A cluster can have multiple image cache objects + name: imagecache + namespace: kube-fledged +spec: + # The "cacheSpec" field allows a user to define a list of images and onto which worker nodes those images should be cached (i.e. pre-pulled). + cacheSpec: + # Specifies a list of images (nginx:1.23.1) with no node selector, hence these images will be cached in all the nodes in the cluster + - images: + - docker.io/senthilrch/kubefledged-controller:v0.10.0 # Controller kube-fleged + - docker.io/senthilrch/kubefledged-webhook-server:v0.10.0 # Webhook server kube-flered + - quay.io/cilium/cilium:v1.15.4@sha256:b760a4831f5aab71c711f7537a107b751d0d0ce90dd32d8b358df3c5da385426 # Cilium + - ghcr.io/mastodon/mastodon:v4.2.8 # Mastodon + - ghcr.io/matrixdotorg/synapse:v1.108.0 # Synapse + # Specifies a list of image pull secrets to pull images from private repositories into the cache + imagePullSecrets: + - name: ghcr-pull