Skip to content

Commit

Permalink
upd kubernetes
Browse files Browse the repository at this point in the history
  • Loading branch information
kvaps committed Jan 8, 2025
1 parent 2d432d2 commit b355c7a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/apps/kubernetes/images/cluster-autoscaler.tag
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ghcr.io/aenix-io/cozystack/cluster-autoscaler:latest@sha256:a8035edb5abee8e88c9153ea4f612d03f490c9bba757c2e57f61ae66cc6fe972
ghcr.io/aenix-io/cozystack/cluster-autoscaler:latest@sha256:e32f0e970800c5aa95f168ceeaf8ac9320a265d7df1bb14c9c372a518d54e51e
6 changes: 2 additions & 4 deletions packages/apps/kubernetes/templates/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ spec:
node-role.kubernetes.io/{{ . }}: ""
{{- end }}
cluster.x-k8s.io/deployment-name: {{ $.Release.Name }}-{{ .groupName }}
workload.cozystack.io/kind: kubernetes
workload.cozystack.io/type: worker
spec:
domain:
{{- if and .group.resources .group.resources.cpu }}
Expand Down Expand Up @@ -126,8 +124,6 @@ spec:
podAdditionalMetadata:
labels:
policy.cozystack.io/allow-to-etcd: "true"
workload.cozystack.io/kind: kubernetes
workload.cozystack.io/type: control-plane
replicas: 2
version: 1.30.1
---
Expand All @@ -139,6 +135,7 @@ metadata:
spec:
replicas: 2
minReplicas: 1
kind: kubernetes
type: control-plane
selector:
kamaji.clastix.io/component: deployment
Expand Down Expand Up @@ -283,6 +280,7 @@ metadata:
namespace: {{ $.Release.Namespace }}
spec:
minReplicas: {{ $group.minReplicas }}
kind: kubernetes
type: worker
selector:
cluster.x-k8s.io/cluster-name: {{ $.Release.Name }}
Expand Down

0 comments on commit b355c7a

Please sign in to comment.