Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Umask default umask Umask = 0022 // FlagOutput output formatting. FlagOutput = "output" // FlagOutputShort output formatting. FlagOutputShort = "o" // FlagPipelineAPIEndpoint Pipeline API url. FlagPipelineAPIEndpoint = "pipeline-url" // FlagPipelineAPIEndpointShort Pipeline API url. FlagPipelineAPIEndpointShort = "u" // FlagPipelineAPIToken token for accessing Pipeline API. FlagPipelineAPIToken = "pipeline-token" // FlagPipelineAPITokenShort token for accessing Pipeline API. FlagPipelineAPITokenShort = "t" // FlagPipelineAPIInsecure if the Pipeline API should not verify the API's certificate. FlagPipelineAPIInsecure = "pipeline-insecure" // FlagPipelineOrganizationID organization id in Pipeline. FlagPipelineOrganizationID = "pipeline-org-id" // FlagPipelineClusterID cluster id in Pipeline. FlagPipelineClusterID = "pipeline-cluster-id" // FlagPipelineNodepool name of the nodepool the node belongs to. FlagPipelineNodepool = "pipeline-nodepool" // FlagAdvertiseAddress Kubernetes advertise address API server and Etcd uses this. FlagAdvertiseAddress = "kubernetes-advertise-address" // FlagAPIServerHostPort Kubernetes API Server in host port format. FlagAPIServerHostPort = "kubernetes-api-server" // FlagKubeadmToken kubeadm token. FlagKubeadmToken = "kubernetes-node-token" // FlagCACertHash Kubernetes API Server CA Cert hash. FlagCACertHash = "kubernetes-api-server-ca-cert-hash" // FlagAPIServerCertSANs sets extra Subject Alternative Names for the API Server signing cert. FlagAPIServerCertSANs = "kubernetes-api-server-cert-sans" // FlagControllerManagerSigningCA Kubernetes Controller Manager needs a single signing cert. // This is needed when using Intermediate CAs. FlagControllerManagerSigningCA = "kubernetes-controller-manager-signing-ca" FlagKubeletCertificateAuthority = "kubelet-certificate-authority" // FlagKubernetesVersion Kubernetes version. FlagKubernetesVersion = "kubernetes-version" // FlagNetworkProvider network provider for Kubernetes. FlagNetworkProvider = "kubernetes-network-provider" // FlagServiceCIDR range of IP address for service VIPs. FlagServiceCIDR = "kubernetes-service-cidr" // FlagPodNetworkCIDR range of IP addresses for the pod network. FlagPodNetworkCIDR = "kubernetes-pod-network-cidr" // FlagInfrastructureCIDR range of IP addresses from which the advertise address can be calculated using system's network interfaces. FlagInfrastructureCIDR = "kubernetes-infrastructure-cidr" // FlagCloudProvider cloud provider for kubeadm. FlagCloudProvider = "kubernetes-cloud-provider" // FlagClusterName cluster name FlagClusterName = "kubernetes-cluster-name" // FlagOIDCIssuerURL OIDC issuer URL FlagOIDCIssuerURL = "kubernetes-oidc-issuer-url" // FlagOIDCClientID OIDC client ID FlagOIDCClientID = "kubernetes-oidc-client-id" // FlagClusterMode possible values: single, default, ha. FlagClusterMode = "kubernetes-master-mode" // FlagControlPlaneJoin worker command should install control plane node. FlagControlPlaneJoin = "kubernetes-join-control-plane" // FlagAdditionalControlPlane upgrade additional control plane node. FlagAdditionalControlPlane = "kubernetes-additional-control-plane" // CloudProviderAmazon Amazon Web Services CloudProviderAmazon = "aws" // CloudProviderAzure Azure Cloud Services CloudProviderAzure = "azure" // FlagImageRepository prefix for image repository. FlagImageRepository = "image-repository" // FlagAdmissionPluginPodSecurityPolicy enable admission plugin PodSecurityPolicy. FlagAdmissionPluginPodSecurityPolicy = "with-plugin-psp" // FlagAuditLog enable audit log. FlagAuditLog = "with-audit-log" // Azure specific flags // FlagAzureTenantID the AAD Tenant ID for the Subscription that the cluster is deployed in. FlagAzureTenantID = "azure-tenant-id" // FlagAzureSubnetName the name of the subnet that the cluster is deployed in. FlagAzureSubnetName = "azure-subnet-name" // FlagAzureSecurityGroupName the name of the security group attached to the cluster's subnet. FlagAzureSecurityGroupName = "azure-security-group-name" // FlagAzureVNetName the name of the VNet that the cluster is deployed in. FlagAzureVNetName = "azure-vnet-name" // FlagAzureVNetResourceGroup the name of the resource group that the Vnet is deployed in. FlagAzureVNetResourceGroup = "azure-vnet-resource-group" // FlagAzureVMType the type of azure nodes. Candidate values are: vmss and standard. FlagAzureVMType = "azure-vm-type" // FlagAzureLoadBalancerSku sku of Load Balancer and Public IP. Candidate values are: basic and standard. FlagAzureLoadBalancerSku = "azure-loadbalancer-sku" // FlagAzureRouteTableName the name of the route table attached to the subnet that the cluster is deployed in. FlagAzureRouteTableName = "azure-route-table-name" // FlagAzureStorageAccountType Azure storage account Sku tier. FlagAzureStorageAccountType = "azure-storage-account-type" // FlagAzureStorageKind possible values are shared, dedicated, and managed (default). FlagAzureStorageKind = "azure-storage-kind" // FlagDisableDefaultStorageClass adds default storage class. FlagDisableDefaultStorageClass = "disable-default-storage-class" // FlagTaints specifies the taints the Node should be registered with. FlagTaints = "taints" // Etcd specific flags // FlagExternalEtcdEndpoints endpoints of etcd members. FlagExternalEtcdEndpoints = "etcd-endpoints" // FlagExternalEtcdCAFile is an SSL Certificate Authority file used to secure etcd communication. FlagExternalEtcdCAFile = "etcd-ca-file" // FlagExternalEtcdCertFile is an SSL certification file used to secure etcd communication. FlagExternalEtcdCertFile = "etcd-cert-file" // FlagExternalEtcdKeyFile is an SSL key file used to secure etcd communication. FlagExternalEtcdKeyFile = "etcd-key-file" // FlagExternalEtcdPrefix the prefix to prepend to all resource paths in etcd. FlagExternalEtcdPrefix = "etcd-prefix" // FlagEncryptionSecret use this key to encrypt secrets. FlagEncryptionSecret = "encryption-secret" )
Variables ¶
View Source
var ( ErrUnsupportedOS = errors.New("unsupported operating system") ErrInvalidInput = errors.New("invalid input") ErrValidationFailed = errors.New("validation failed") ErrUnsupportedNetworkProvider = errors.New("unsupported network provider") ErrUnsupportedKubernetesVersion = errors.New("unsupported kubernetes version") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.