Skip to content

Instantly share code, notes, and snippets.

@guangbochen
Created September 14, 2021 16:07
Show Gist options
  • Save guangbochen/9d7318c05b1f2ad1389d568f95bf6f6e to your computer and use it in GitHub Desktop.
Save guangbochen/9d7318c05b1f2ad1389d568f95bf6f6e to your computer and use it in GitHub Desktop.
apiVersion: provisioning.cattle.io/v1
kind: Cluster
metadata:
annotations:
field.cattle.io/creatorId: user-2hb4j
creationTimestamp: "2021-09-14T15:18:49Z"
finalizers:
- wrangler.cattle.io/provisioning-cluster-remove
generation: 3
name: rke2-test
namespace: fleet-default
resourceVersion: "446015"
uid: 185ca0cb-795d-4615-892a-1652d78cf3b6
spec:
cloudCredentialSecretName: cattle-global-data:cc-sbhqh
defaultPodSecurityPolicyTemplateName: ""
kubernetesVersion: v1.21.4-rc1+rke2r4
rkeConfig:
chartValues:
rke2-calico:
calicoctl:
image: rancher/mirrored-calico-ctl
tag: v3.19.2
certs:
node:
cert: null
commonName: null
key: null
typha:
caBundle: null
cert: null
commonName: null
key: null
felixConfiguration:
featureDetectOverride: ChecksumOffloadBroken=true
global:
systemDefaultRegistry: ""
imagePullSecrets: {}
installation:
calicoNetwork:
bgp: Disabled
ipPools:
- blockSize: 24
cidr: 10.42.0.0/16
encapsulation: VXLAN
natOutgoing: Enabled
controlPlaneTolerations:
- effect: NoSchedule
key: node-role.kubernetes.io/control-plane
operator: Exists
- effect: NoExecute
key: node-role.kubernetes.io/etcd
operator: Exists
enabled: true
imagePath: rancher
imagePrefix: mirrored-calico-
kubernetesProvider: ""
ipamConfig:
autoAllocateBlocks: true
strictAffinity: true
tigeraOperator:
image: rancher/mirrored-calico-operator
registry: docker.io
version: v1.17.6
etcd:
disableSnapshots: false
snapshotRetention: 5
snapshotScheduleCron: 0 */5 * * *
localClusterAuthEndpoint:
caCerts: ""
enabled: false
fqdn: ""
machineGlobalConfig:
cni: calico
disable-kube-proxy: false
etcd-expose-metrics: false
profile: null
machinePools:
- controlPlaneRole: true
etcdRole: true
machineConfigRef:
kind: HarvesterConfig
name: nc-rke2-test-pool1-ggh4v
name: pool1
quantity: 1
workerRole: true
machineSelectorConfig:
- config:
cloud-provider-config: |
apiVersion: v1
clusters:
- cluster:
certificate-authority-data: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUJlRENDQVIrZ0F3SUJBZ0lCQURBS0JnZ3Foa2pPUFFRREFqQWtNU0l3SUFZRFZRUUREQmx5YTJVeUxYTmwKY25abGNpMWpZVUF4TmpNeE5qQXlNekkwTUI0WERUSXhNRGt4TkRBMk5USXdORm9YRFRNeE1Ea3hNakEyTlRJdwpORm93SkRFaU1DQUdBMVVFQXd3WmNtdGxNaTF6WlhKMlpYSXRZMkZBTVRZek1UWXdNak15TkRCWk1CTUdCeXFHClNNNDlBZ0VHQ0NxR1NNNDlBd0VIQTBJQUJDVm5UMUhnTFMrWDZobXI4T0IwRTlROHVrbnQvOU9YcGlGUTNzbWkKengxRGhjVUQ0VC9aMmdTT2dwMVRuRXJXYTVTbnpnb05MQlZsWUxpeUJWeTVxZTJqUWpCQU1BNEdBMVVkRHdFQgovd1FFQXdJQ3BEQVBCZ05WSFJNQkFmOEVCVEFEQVFIL01CMEdBMVVkRGdRV0JCUXY0VVgra2FVaGhiazQ5cE5vCnd6cmNiWkdRVXpBS0JnZ3Foa2pPUFFRREFnTkhBREJFQWlBbW5xUnhIUFlPeW5jT0Z4MExNdVl4TnBLOXlSWTAKcnM3MEJsZUo3eEttNUFJZ1VVTHdjQTRPUGRMSndFWmpzU25ob2ErdFdaOWk1V1dwRitrVE9IRW9sUTQ9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K
server: :6443
name: default
contexts:
- context:
cluster: default
namespace: default
user: default
name: default
current-context: default
kind: Config
preferences: {}
users:
- name: default
user:
token: eyJhbGciOiJSUzI1NiIsImtpZCI6Ikt4eHZHcUVmNmVMN0dVb1QtNHhmdkIwcHh1TEgwM1RES2JtWVFEal94NHMifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJkZWZhdWx0Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZWNyZXQubmFtZSI6InJrZTItdGVzdC10b2tlbi16N2trZyIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VydmljZS1hY2NvdW50Lm5hbWUiOiJya2UyLXRlc3QiLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiJhNjFiZTQ3YS1iZjUzLTRjMTEtYjVkNC05YzYwZjJiYzgyNjUiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6ZGVmYXVsdDpya2UyLXRlc3QifQ.JYrxLy1pa6AltjLDEE5c1FOCfOFd5t3gX1rf0iCwnxPS6Zmuux-QNzfXWjsnPnTCZysnEl2yJfbpKsi4c30I5wT04eIcUQ_yzlJ7RihRUbTAaagG-xrqkeUZGKqDtAv7EJEtWYVBhrM0S5d5PswS5Qmss41R6bku8M3wEdCBEYKwa0PBkrcQmG6OcTMis_AS7aN-_Ta-KclGk6P6jD3WdqpQIGqsZifeDIgXytHeY7YNQcV4cZ8pAGjpgUkILjlWd6C1_ZiWsa9D-QAjnfcRladK9aM9r17JITrO2j6KvWB3-vYBYr17ofTE8GyHq9qMgREongkNYiEtJVMcrRAC3g
cloud-provider-name: harvester
protect-kernel-defaults: false
registries:
configs: {}
mirrors: {}
upgradeStrategy:
controlPlaneConcurrency: 10%
controlPlaneDrainOptions:
timeout: 0
workerConcurrency: 10%
workerDrainOptions:
timeout: 0
status:
clusterName: c-m-9l68qzn7
conditions:
- lastUpdateTime: "2021-09-14T15:18:49Z"
reason: Reconciling
status: "True"
type: Reconciling
- lastUpdateTime: "2021-09-14T15:18:49Z"
status: "False"
type: Stalled
- lastUpdateTime: "2021-09-14T15:22:14Z"
status: "True"
type: Created
- lastUpdateTime: "2021-09-14T15:21:04Z"
status: "True"
type: RKECluster
- lastUpdateTime: "2021-09-14T15:18:49Z"
status: "True"
type: BackingNamespaceCreated
- lastUpdateTime: "2021-09-14T15:18:49Z"
status: "True"
type: DefaultProjectCreated
- lastUpdateTime: "2021-09-14T15:18:49Z"
status: "True"
type: SystemProjectCreated
- lastUpdateTime: "2021-09-14T15:18:49Z"
status: "True"
type: InitialRolesPopulated
- lastUpdateTime: "2021-09-14T15:21:04Z"
message: 'non-ready bootstrap machine(s) rke2-test-pool1-7c47b56bf6-bm299: waiting
for cluster agent to be available and join url to be available on bootstrap
node'
reason: Waiting
status: Unknown
type: Provisioned
- lastUpdateTime: "2021-09-14T15:18:50Z"
status: "True"
type: CreatorMadeOwner
- status: Unknown
type: Pending
- lastUpdateTime: "2021-09-14T15:18:50Z"
message: Waiting for API to be available
status: Unknown
type: Waiting
- lastUpdateTime: "2021-09-14T15:18:50Z"
status: "True"
type: NoDiskPressure
- lastUpdateTime: "2021-09-14T15:18:50Z"
status: "True"
type: NoMemoryPressure
- lastUpdateTime: "2021-09-14T15:19:02Z"
status: "False"
type: Connected
observedGeneration: 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment