# ckectl **Repository Path**: jialaijun/ckectl ## Basic Information - **Project Name**: ckectl - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: migrate_to_structured_logs - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-02-06 - **Last Updated**: 2021-11-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ckectl 用于管理cke 的声明式部署 部署模板取值示例 ``` {{.CkeClusterSpec.Version}} {{.CkeClusterSpec.Registry.Ip}} {{.CkeComponentSpecParams.dns_servers}} {{.CkeComponentSpecParams.incloud_ebs_openapi_url}} {{with index .CkeNode 2}} {{.Spec.Address}} {{index .Spec.Roles 1}} {{index .Spec.Labels 1}} {{index .Spec.Taints 0}} {{end}} {{string2bool .CkeComponentSpecParams.test_bool}} {{if string2bool .CkeComponentSpecParams.test_bool}} condition is true {{else}} condition is false {{end}} {{string2int .CkeComponentSpecParams.test_int}} {{string2array .CkeComponentSpecParams.dns_servers}} {{replace .CkeComponentSpecParams.incloud_ebs_openapi_url "http://" "" }} {{versionCompare "1.1" "1.2" }} {{getArch}} {{getNodeByRole .CkeNode "master"}} ```