mirror of
https://github.com/outbackdingo/cozystack.git
synced 2026-02-02 23:16:03 +00:00
Compare commits
16 Commits
hcloud
...
release-0.
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
28fca4ef12 | ||
|
|
7db92db23c | ||
|
|
2c167719b4 | ||
|
|
d61ec3df04 | ||
|
|
9cfc07353f | ||
|
|
bb985806a0 | ||
|
|
2179dbd05c | ||
|
|
7ba27f4857 | ||
|
|
1e47fc55ca | ||
|
|
d481d83661 | ||
|
|
770089244e | ||
|
|
05de907054 | ||
|
|
34fd00e7cd | ||
|
|
5fb9cfe3da | ||
|
|
bb2e948131 | ||
|
|
bd10b18291 |
@@ -36,7 +36,7 @@ mkdir -p srv1 srv2 srv3
|
|||||||
|
|
||||||
# Prepare cloud-init
|
# Prepare cloud-init
|
||||||
for i in 1 2 3; do
|
for i in 1 2 3; do
|
||||||
echo "local-hostname: srv$i" > "srv$i/meta-data"
|
echo "hostname: srv$i" > "srv$i/meta-data"
|
||||||
echo '#cloud-config' > "srv$i/user-data"
|
echo '#cloud-config' > "srv$i/user-data"
|
||||||
cat > "srv$i/network-config" <<EOT
|
cat > "srv$i/network-config" <<EOT
|
||||||
version: 2
|
version: 2
|
||||||
@@ -182,7 +182,7 @@ timeout 60 sh -c 'until nc -nzv 192.168.123.11 50000 && nc -nzv 192.168.123.12 5
|
|||||||
talosctl bootstrap -n 192.168.123.11 -e 192.168.123.11
|
talosctl bootstrap -n 192.168.123.11 -e 192.168.123.11
|
||||||
|
|
||||||
# Wait for etcd
|
# Wait for etcd
|
||||||
timeout 120 sh -c 'while talosctl etcd members -n 192.168.123.11,192.168.123.12,192.168.123.13 -e 192.168.123.10 2>&1 | grep "rpc error"; do sleep 1; done'
|
timeout 180 sh -c 'while talosctl etcd members -n 192.168.123.11,192.168.123.12,192.168.123.13 -e 192.168.123.10 2>&1 | grep "rpc error"; do sleep 1; done'
|
||||||
|
|
||||||
rm -f kubeconfig
|
rm -f kubeconfig
|
||||||
talosctl kubeconfig kubeconfig -e 192.168.123.10 -n 192.168.123.10
|
talosctl kubeconfig kubeconfig -e 192.168.123.10 -n 192.168.123.10
|
||||||
@@ -217,6 +217,10 @@ timeout 60 sh -c 'until kubectl get hr -A | grep cozy; do sleep 1; done'
|
|||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
kubectl get hr -A | awk 'NR>1 {print "kubectl wait --timeout=15m --for=condition=ready -n " $1 " hr/" $2 " &"} END{print "wait"}' | sh -x
|
kubectl get hr -A | awk 'NR>1 {print "kubectl wait --timeout=15m --for=condition=ready -n " $1 " hr/" $2 " &"} END{print "wait"}' | sh -x
|
||||||
|
|
||||||
|
# Wait for Cluster-API providers
|
||||||
|
kubectl wait deploy --timeout=30s --for=condition=available -n cozy-cluster-api capi-controller-manager capi-kamaji-controller-manager capi-kubeadm-bootstrap-controller-manager capi-operator-cluster-api-operator capk-controller-manager
|
||||||
|
|
||||||
# Wait for linstor controller
|
# Wait for linstor controller
|
||||||
kubectl wait deploy --timeout=5m --for=condition=available -n cozy-linstor linstor-controller
|
kubectl wait deploy --timeout=5m --for=condition=available -n cozy-linstor linstor-controller
|
||||||
|
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ spec:
|
|||||||
serviceAccountName: cozystack
|
serviceAccountName: cozystack
|
||||||
containers:
|
containers:
|
||||||
- name: cozystack
|
- name: cozystack
|
||||||
image: "ghcr.io/aenix-io/cozystack/cozystack:v0.16.0"
|
image: "ghcr.io/aenix-io/cozystack/cozystack:v0.16.5"
|
||||||
env:
|
env:
|
||||||
- name: KUBERNETES_SERVICE_HOST
|
- name: KUBERNETES_SERVICE_HOST
|
||||||
value: localhost
|
value: localhost
|
||||||
@@ -87,7 +87,7 @@ spec:
|
|||||||
fieldRef:
|
fieldRef:
|
||||||
fieldPath: metadata.name
|
fieldPath: metadata.name
|
||||||
- name: darkhttpd
|
- name: darkhttpd
|
||||||
image: "ghcr.io/aenix-io/cozystack/cozystack:v0.16.0"
|
image: "ghcr.io/aenix-io/cozystack/cozystack:v0.16.5"
|
||||||
command:
|
command:
|
||||||
- /usr/bin/darkhttpd
|
- /usr/bin/darkhttpd
|
||||||
- /cozystack/assets
|
- /cozystack/assets
|
||||||
|
|||||||
@@ -76,3 +76,5 @@ spec:
|
|||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
policy.cozystack.io/allow-to-apiserver: "true"
|
policy.cozystack.io/allow-to-apiserver: "true"
|
||||||
|
spec:
|
||||||
|
enableServiceLinks: false
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ type: application
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 0.11.0
|
version: 0.12.1
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
ghcr.io/aenix-io/cozystack/cluster-autoscaler:0.11.0@sha256:7f617de5a24de790a15d9e97c6287ff2b390922e6e74c7a665cbf498f634514d
|
ghcr.io/aenix-io/cozystack/cluster-autoscaler:0.12.1@sha256:7f617de5a24de790a15d9e97c6287ff2b390922e6e74c7a665cbf498f634514d
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
ghcr.io/aenix-io/cozystack/kubevirt-cloud-provider:0.11.0@sha256:ba567212f9fe5e7c32af9857edd79eb012f3eb39c2eae0fc831b14d5b7879427
|
ghcr.io/aenix-io/cozystack/kubevirt-cloud-provider:0.12.1@sha256:ca606d6039ed43a48d4dfd98a91fd3cec120f08c1e221cd4e99ea94239389742
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
ghcr.io/aenix-io/cozystack/kubevirt-csi-driver:0.11.0@sha256:1a9e6592fc035dbaae27f308b934206858c2e0025d4c99cd906b51615cc9766c
|
ghcr.io/aenix-io/cozystack/kubevirt-csi-driver:0.12.1@sha256:86029548078960feecca116087b2135230d676b83c503f292eb50e1199be2790
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ spec:
|
|||||||
app: {{ .Release.Name }}-cluster-autoscaler
|
app: {{ .Release.Name }}-cluster-autoscaler
|
||||||
policy.cozystack.io/allow-to-apiserver: "true"
|
policy.cozystack.io/allow-to-apiserver: "true"
|
||||||
spec:
|
spec:
|
||||||
|
enableServiceLinks: false
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: CriticalAddonsOnly
|
- key: CriticalAddonsOnly
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
|||||||
@@ -210,6 +210,26 @@ spec:
|
|||||||
name: {{ $.Release.Name }}-{{ $groupName }}-{{ $kubevirtmachinetemplateHash }}
|
name: {{ $.Release.Name }}-{{ $groupName }}-{{ $kubevirtmachinetemplateHash }}
|
||||||
namespace: default
|
namespace: default
|
||||||
version: v1.30.1
|
version: v1.30.1
|
||||||
|
---
|
||||||
|
apiVersion: cluster.x-k8s.io/v1beta1
|
||||||
|
kind: MachineHealthCheck
|
||||||
|
metadata:
|
||||||
|
name: {{ $.Release.Name }}-{{ $groupName }}
|
||||||
|
namespace: {{ $.Release.Namespace }}
|
||||||
|
spec:
|
||||||
|
clusterName: {{ $.Release.Name }}
|
||||||
|
nodeStartupTimeout: 10m
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
cluster.x-k8s.io/cluster-name: {{ $.Release.Name }}
|
||||||
|
cluster.x-k8s.io/deployment-name: {{ $.Release.Name }}-{{ $groupName }}
|
||||||
|
unhealthyConditions:
|
||||||
|
- type: Ready
|
||||||
|
status: Unknown
|
||||||
|
timeout: 30s
|
||||||
|
- type: Ready
|
||||||
|
status: "False"
|
||||||
|
timeout: 300s
|
||||||
{{- end }}
|
{{- end }}
|
||||||
---
|
---
|
||||||
{{- /*
|
{{- /*
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ spec:
|
|||||||
app: {{ .Release.Name }}-kcsi-driver
|
app: {{ .Release.Name }}-kcsi-driver
|
||||||
policy.cozystack.io/allow-to-apiserver: "true"
|
policy.cozystack.io/allow-to-apiserver: "true"
|
||||||
spec:
|
spec:
|
||||||
|
enableServiceLinks: false
|
||||||
serviceAccountName: {{ .Release.Name }}-kcsi
|
serviceAccountName: {{ .Release.Name }}-kcsi
|
||||||
priorityClassName: system-cluster-critical
|
priorityClassName: system-cluster-critical
|
||||||
tolerations:
|
tolerations:
|
||||||
|
|||||||
@@ -30,7 +30,6 @@ spec:
|
|||||||
retries: -1
|
retries: -1
|
||||||
values:
|
values:
|
||||||
cilium:
|
cilium:
|
||||||
tunnel: disabled
|
|
||||||
k8sServiceHost: {{ .Release.Name }}.{{ .Release.Namespace }}.svc
|
k8sServiceHost: {{ .Release.Name }}.{{ .Release.Namespace }}.svc
|
||||||
k8sServicePort: 6443
|
k8sServicePort: 6443
|
||||||
routingMode: tunnel
|
routingMode: tunnel
|
||||||
|
|||||||
@@ -15,6 +15,7 @@ spec:
|
|||||||
k8s-app: {{ .Release.Name }}-kccm
|
k8s-app: {{ .Release.Name }}-kccm
|
||||||
policy.cozystack.io/allow-to-apiserver: "true"
|
policy.cozystack.io/allow-to-apiserver: "true"
|
||||||
spec:
|
spec:
|
||||||
|
enableServiceLinks: false
|
||||||
tolerations:
|
tolerations:
|
||||||
- key: CriticalAddonsOnly
|
- key: CriticalAddonsOnly
|
||||||
operator: Exists
|
operator: Exists
|
||||||
|
|||||||
@@ -16,6 +16,8 @@ spec:
|
|||||||
statefulSet:
|
statefulSet:
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
|
spec:
|
||||||
|
enableServiceLinks: false
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
policy.cozystack.io/allow-to-apiserver: "true"
|
policy.cozystack.io/allow-to-apiserver: "true"
|
||||||
|
|||||||
@@ -32,7 +32,10 @@ kubernetes 0.8.1 e54608d8
|
|||||||
kubernetes 0.8.2 5ca8823
|
kubernetes 0.8.2 5ca8823
|
||||||
kubernetes 0.9.0 9b6dd19
|
kubernetes 0.9.0 9b6dd19
|
||||||
kubernetes 0.10.0 ac5c38b
|
kubernetes 0.10.0 ac5c38b
|
||||||
kubernetes 0.11.0 HEAD
|
kubernetes 0.11.0 4eaca42
|
||||||
|
kubernetes 0.11.1 4f430a90
|
||||||
|
kubernetes 0.12.0 74649f8
|
||||||
|
kubernetes 0.12.1 HEAD
|
||||||
mysql 0.1.0 f642698
|
mysql 0.1.0 f642698
|
||||||
mysql 0.2.0 8b975ff0
|
mysql 0.2.0 8b975ff0
|
||||||
mysql 0.3.0 5ca8823
|
mysql 0.3.0 5ca8823
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
cozystack:
|
cozystack:
|
||||||
image: ghcr.io/aenix-io/cozystack/cozystack:v0.16.0@sha256:1119f30a50b3fea1ac7d8068009ca233df6214d709c7861f7ce8fbf0402cdc72
|
image: ghcr.io/aenix-io/cozystack/cozystack:v0.16.5@sha256:5bd08ec86b8392d31a1df7cb496d7c861142771c323c302729f7728da9b49ae2
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
e2e:
|
e2e:
|
||||||
image: ghcr.io/aenix-io/cozystack/e2e-sandbox:v0.16.0@sha256:25b298d621ec79431d106184d59849bbae634588742583d111628126ad8615c5
|
image: ghcr.io/aenix-io/cozystack/e2e-sandbox:v0.16.5@sha256:25b298d621ec79431d106184d59849bbae634588742583d111628126ad8615c5
|
||||||
|
|||||||
@@ -151,10 +151,10 @@ spec:
|
|||||||
ingressClassName: {{ $ingress }}
|
ingressClassName: {{ $ingress }}
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- "{{ .Values.host | default (printf "alerta.%s" $host) }}"
|
- "{{ printf "alerta.%s" (.Values.host | default $host) }}"
|
||||||
secretName: alerta-tls
|
secretName: alerta-tls
|
||||||
rules:
|
rules:
|
||||||
- host: "{{ .Values.host | default (printf "alerta.%s" $host) }}"
|
- host: "{{ printf "alerta.%s" (.Values.host | default $host) }}"
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ spec:
|
|||||||
password: ${GF_DATABASE_PASSWORD}
|
password: ${GF_DATABASE_PASSWORD}
|
||||||
#ssl_mode: require
|
#ssl_mode: require
|
||||||
server:
|
server:
|
||||||
root_url: "https://{{ .Values.host | default (printf "grafana.%s" $host) }}"
|
root_url: "https://{{ printf "grafana.%s" (.Values.host | default $host) }}"
|
||||||
security:
|
security:
|
||||||
admin_user: user
|
admin_user: user
|
||||||
admin_password: ${GF_PASSWORD}
|
admin_password: ${GF_PASSWORD}
|
||||||
@@ -95,7 +95,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
ingressClassName: "{{ $ingress }}"
|
ingressClassName: "{{ $ingress }}"
|
||||||
rules:
|
rules:
|
||||||
- host: "{{ .Values.host | default (printf "grafana.%s" $host) }}"
|
- host: "{{ printf "grafana.%s" (.Values.host | default $host) }}"
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- backend:
|
- backend:
|
||||||
@@ -107,5 +107,5 @@ spec:
|
|||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- "{{ .Values.host | default (printf "grafana.%s" $host) }}"
|
- "{{ printf "grafana.%s" (.Values.host | default $host) }}"
|
||||||
secretName: grafana-ingress-tls
|
secretName: grafana-ingress-tls
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ type: application
|
|||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 0.2.0
|
version: 0.2.1
|
||||||
|
|
||||||
# This is the version number of the application being deployed. This version number should be
|
# This is the version number of the application being deployed. This version number should be
|
||||||
# incremented each time you make changes to the application. Versions are not expected to
|
# incremented each time you make changes to the application. Versions are not expected to
|
||||||
|
|||||||
@@ -38,6 +38,10 @@ spec:
|
|||||||
storageClass: {{ . }}
|
storageClass: {{ . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
maxVolumes: 0
|
maxVolumes: 0
|
||||||
|
|
||||||
|
filer:
|
||||||
|
s3:
|
||||||
|
domainName: {{ .Values.host | default (printf "s3.%s" $host) }}
|
||||||
|
|
||||||
s3:
|
s3:
|
||||||
ingress:
|
ingress:
|
||||||
|
|||||||
@@ -15,4 +15,5 @@ monitoring 1.3.0 6c5cf5b
|
|||||||
monitoring 1.4.0 adaf603b
|
monitoring 1.4.0 adaf603b
|
||||||
monitoring 1.5.0 HEAD
|
monitoring 1.5.0 HEAD
|
||||||
seaweedfs 0.1.0 5ca8823
|
seaweedfs 0.1.0 5ca8823
|
||||||
seaweedfs 0.2.0 HEAD
|
seaweedfs 0.2.0 9e33dc0
|
||||||
|
seaweedfs 0.2.1 HEAD
|
||||||
|
|||||||
9
packages/system/capi-operator/values.yaml
Normal file
9
packages/system/capi-operator/values.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
cluster-api-operator:
|
||||||
|
resources:
|
||||||
|
manager:
|
||||||
|
limits:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 512Mi
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 100Mi
|
||||||
@@ -33,11 +33,11 @@ kubeapps:
|
|||||||
image:
|
image:
|
||||||
registry: ghcr.io/aenix-io/cozystack
|
registry: ghcr.io/aenix-io/cozystack
|
||||||
repository: dashboard
|
repository: dashboard
|
||||||
tag: v0.16.0
|
tag: v0.16.5
|
||||||
digest: "sha256:4818712e9fc9c57cc321512760c3226af564a04e69d4b3ec9229ab91fd39abeb"
|
digest: "sha256:4818712e9fc9c57cc321512760c3226af564a04e69d4b3ec9229ab91fd39abeb"
|
||||||
kubeappsapis:
|
kubeappsapis:
|
||||||
image:
|
image:
|
||||||
registry: ghcr.io/aenix-io/cozystack
|
registry: ghcr.io/aenix-io/cozystack
|
||||||
repository: kubeapps-apis
|
repository: kubeapps-apis
|
||||||
tag: v0.16.0
|
tag: v0.16.5
|
||||||
digest: "sha256:55bc8e2495933112c7cb4bb9e3b1fcb8df46aa14e27fa007f78388a9757e3238"
|
digest: "sha256:126bb6955ff142e7e00e712c037f3e97bd39b360641fba0b8ca8bc083d5e8224"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ kamaji:
|
|||||||
deploy: false
|
deploy: false
|
||||||
image:
|
image:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: v0.16.0@sha256:241e6cdf60905e53f0cb47aadcab69dd8ffa97d316faac6bdeb704c1b13c24db
|
tag: v0.16.5@sha256:95a9658cbbe1cbfbc42b9ab1df4f2a39342d7a8f1ff10a10b81b8656f3744c39
|
||||||
repository: ghcr.io/aenix-io/cozystack/kamaji
|
repository: ghcr.io/aenix-io/cozystack/kamaji
|
||||||
resources:
|
resources:
|
||||||
limits:
|
limits:
|
||||||
|
|||||||
@@ -22,4 +22,4 @@ global:
|
|||||||
images:
|
images:
|
||||||
kubeovn:
|
kubeovn:
|
||||||
repository: kubeovn
|
repository: kubeovn
|
||||||
tag: v1.13.0@sha256:6676da12917c3645a08fb2adb7def5fcb68995338126b257e0a0a9570516cd5c
|
tag: v1.13.0@sha256:ba4e98866295db13d88b10984c230e1cb0db86782767c5b9aff452865cdd1012
|
||||||
|
|||||||
Reference in New Issue
Block a user