fix karmadactl init examples

Signed-off-by: carlory <baofa.fan@daocloud.io>
This commit is contained in:
carlory 2022-05-13 14:25:40 +08:00
parent 84fe09e344
commit 77b37983ba
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ func initExample(parentCommand string) string {
fmt.Sprintf("%s init --etcd-image local.registry.com/library/etcd:3.5.1-0", parentCommand) + ` fmt.Sprintf("%s init --etcd-image local.registry.com/library/etcd:3.5.1-0", parentCommand) + `
# Deploy highly available(HA) karmada` + "\n" + # Deploy highly available(HA) karmada` + "\n" +
fmt.Sprintf("%s init --karmada-apiserver-replicas 3 --etcd-replicas 3 --storage-classes-name PVC --storage-classes-name {StorageClassesName}", parentCommand) + ` fmt.Sprintf("%s init --karmada-apiserver-replicas 3 --etcd-replicas 3 --etcd-storage-mode PVC --storage-classes-name {StorageClassesName}", parentCommand) + `
# Specify external IPs(load balancer or HA IP) which used to sign the certificate` + "\n" + # Specify external IPs(load balancer or HA IP) which used to sign the certificate` + "\n" +
fmt.Sprintf("%s init --cert-external-ip 10.235.1.2 --cert-external-dns www.karmada.io", parentCommand) fmt.Sprintf("%s init --cert-external-ip 10.235.1.2 --cert-external-dns www.karmada.io", parentCommand)