mirror of
https://github.com/labring/sealos.git
synced 2026-09-19 02:23:07 +08:00
734 B
734 B
Sealos cloud cluster image
usage
prepare
- A cloud domain and dns to your k8s cluster. Suppose your domain name is
cloud.example.io. - A TLS cert that resolves
cloud.example.ioand*.cloud.example.io
save your cert file to a sealos config file
# tls-secret.yaml
apiVersion: apps.sealos.io/v1beta1
kind: Config
metadata:
name: secret
spec:
path: manifests/tls-secret.yaml
match: ghcr.io/labring/sealos-cloud:latest
strategy: merge
data: |
data:
tls.crt: <your-tls.crt-base64>
tls.key: <your-tls.key-base64>
run sealos cloud cluster image
sealos run ghcr.io/labring/sealos-cloud:latest --config-file tls-secret.yaml --env cloudDomain="cloud.example.com"