Skip to content

Instantly share code, notes, and snippets.

@changsijay
Last active November 29, 2020 11:58
Show Gist options
  • Save changsijay/f65630f3845cde99a8904fa64306a7d1 to your computer and use it in GitHub Desktop.
Save changsijay/f65630f3845cde99a8904fa64306a7d1 to your computer and use it in GitHub Desktop.
kops log
I1129 18:24:32.887438 282387 create_cluster.go:713] Using SSH public key: /home/csj/.ssh/id_rsa.pub
I1129 18:24:34.058905 282387 subnets.go:180] Assigned CIDR 10.66.0.32/27 to subnet nova
I1129 18:24:34.058917 282387 subnets.go:194] Assigned CIDR 10.66.0.0/30 to subnet utility-nova
2020/11/29 18:24:34 Unsolicited response received on idle HTTP channel starting with "0\r\n\r\n"; err=<nil>
2020/11/29 18:24:34 Unsolicited response received on idle HTTP channel starting with "0\r\n\r\n"; err=<nil>
2020/11/29 18:24:34 Unsolicited response received on idle HTTP channel starting with "0\r\n\r\n"; err=<nil>
2020/11/29 18:24:38 Unsolicited response received on idle HTTP channel starting with "0\r\n\r\n"; err=<nil>
I1129 18:24:52.760129 282387 apply_cluster.go:471] Gossip DNS: skipping DNS validation
I1129 18:24:55.200725 282387 executor.go:103] Tasks: 0 done / 116 total; 51 can run
I1129 18:24:55.360745 282387 keypair.go:195] Issuing new certificate: "etcd-manager-ca-main"
W1129 18:24:55.363991 282387 vfs_castore.go:604] CA private key was not found
I1129 18:24:55.426969 282387 keypair.go:195] Issuing new certificate: "etcd-peers-ca-events"
W1129 18:24:55.438063 282387 vfs_castore.go:604] CA private key was not found
I1129 18:24:55.438079 282387 keypair.go:195] Issuing new certificate: "ca"
I1129 18:24:55.441138 282387 keypair.go:195] Issuing new certificate: "etcd-peers-ca-main"
I1129 18:24:55.442153 282387 keypair.go:195] Issuing new certificate: "apiserver-aggregator-ca"
I1129 18:24:55.445081 282387 keypair.go:195] Issuing new certificate: "master"
I1129 18:24:55.446867 282387 keypair.go:195] Issuing new certificate: "etcd-clients-ca"
I1129 18:24:55.459323 282387 keypair.go:195] Issuing new certificate: "etcd-manager-ca-events"
2020/11/29 18:24:55 Unsolicited response received on idle HTTP channel starting with "0\r\n\r\n"; err=<nil>
2020/11/29 18:24:56 Unsolicited response received on idle HTTP channel starting with "0\r\n\r\n"; err=<nil>
2020/11/29 18:24:56 Unsolicited response received on idle HTTP channel starting with "0\r\n\r\n"; err=<nil>
2020/11/29 18:24:57 Unsolicited response received on idle HTTP channel starting with "0\r\n\r\n"; err=<nil>
2020/11/29 18:24:57 Unsolicited response received on idle HTTP channel starting with "0\r\n\r\n"; err=<nil>
2020/11/29 18:24:57 Unsolicited response received on idle HTTP channel starting with "0\r\n\r\n"; err=<nil>
2020/11/29 18:24:57 Unsolicited response received on idle HTTP channel starting with "0\r\n\r\n"; err=<nil>
2020/11/29 18:24:57 Unsolicited response received on idle HTTP channel starting with "0\r\n\r\n"; err=<nil>
I1129 18:24:59.675731 282387 executor.go:103] Tasks: 51 done / 116 total; 54 can run
I1129 18:24:59.721750 282387 keypair.go:195] Issuing new certificate: "kube-proxy"
I1129 18:24:59.723466 282387 keypair.go:195] Issuing new certificate: "kubelet"
I1129 18:25:12.407006 282387 executor.go:103] Tasks: 105 done / 116 total; 6 can run
I1129 18:25:20.126507 282387 executor.go:103] Tasks: 111 done / 116 total; 1 can run
I1129 18:25:21.612294 282387 executor.go:103] Tasks: 112 done / 116 total; 4 can run
W1129 18:25:21.697759 282387 bootstrapscript.go:133] exporting username and password. Consider using application credentials instead.
W1129 18:25:21.712079 282387 bootstrapscript.go:133] exporting username and password. Consider using application credentials instead.
W1129 18:25:21.712732 282387 bootstrapscript.go:133] exporting username and password. Consider using application credentials instead.
I1129 18:25:26.616204 282387 executor.go:103] Tasks: 116 done / 116 total; 0 can run
I1129 18:25:26.649761 282387 update_cluster.go:313] Exporting kubecfg for cluster
kops has set your kubectl context to lab.k8s.local
Cluster is starting. It should be ready in a few minutes.
Suggestions:
* validate cluster: kops validate cluster --wait 10m
* list nodes: kubectl get nodes --show-labels
* to ssh to the bastion, you probably want to configure a bastionPublicName.
* the ubuntu user is specific to Ubuntu. If not using Ubuntu please use the appropriate user based on your OS.
* read about installing addons at: https://kops.sigs.k8s.io/operations/addons.
apiVersion: kops.k8s.io/v1alpha2
kind: Cluster
metadata:
creationTimestamp: "2020-11-29T11:24:34Z"
name: lab.k8s.local
spec:
api: {}
authorization:
rbac: {}
channel: stable
cloudConfig:
openstack:
blockStorage:
bs-version: v3
ignore-volume-az: false
monitor:
delay: 1m
maxRetries: 3
timeout: 30s
router:
externalNetwork: public1
cloudProvider: openstack
configBase: swift://kops-store/lab.k8s.local
containerRuntime: docker
etcdClusters:
- cpuRequest: 200m
etcdMembers:
- instanceGroup: master-nova
name: a
volumeType: __DEFAULT__
memoryRequest: 100Mi
name: main
- cpuRequest: 100m
etcdMembers:
- instanceGroup: master-nova
name: a
volumeType: __DEFAULT__
memoryRequest: 100Mi
name: events
iam:
allowContainerRegistry: true
legacy: false
kubelet:
anonymousAuth: false
kubernetesApiAccess:
- 0.0.0.0/0
kubernetesVersion: 1.19.3
masterPublicName: api.lab.k8s.local
networkCIDR: 10.66.0.0/24
networking:
calico:
majorVersion: v3
nonMasqueradeCIDR: 100.64.0.0/10
sshAccess:
- 0.0.0.0/0
subnets:
- cidr: 10.66.0.32/27
name: nova
type: Private
zone: nova
- cidr: 10.66.0.0/30
name: utility-nova
type: Utility
zone: nova
topology:
dns:
type: Public
masters: private
nodes: private
---
apiVersion: kops.k8s.io/v1alpha2
kind: InstanceGroup
metadata:
creationTimestamp: "2020-11-29T11:24:36Z"
labels:
kops.k8s.io/cluster: lab.k8s.local
name: bastions
spec:
image: Ubuntu20.04
machineType: m1.small
maxSize: 1
minSize: 1
nodeLabels:
kops.k8s.io/instancegroup: bastions
role: Bastion
subnets:
- nova
---
apiVersion: kops.k8s.io/v1alpha2
kind: InstanceGroup
metadata:
creationTimestamp: "2020-11-29T11:24:34Z"
labels:
kops.k8s.io/cluster: lab.k8s.local
name: master-nova
spec:
image: Ubuntu20.04
machineType: m1.large
maxSize: 1
minSize: 1
nodeLabels:
kops.k8s.io/instancegroup: master-nova
role: Master
subnets:
- nova
---
apiVersion: kops.k8s.io/v1alpha2
kind: InstanceGroup
metadata:
creationTimestamp: "2020-11-29T11:24:34Z"
labels:
kops.k8s.io/cluster: lab.k8s.local
name: nodes-nova
spec:
image: Ubuntu20.04
machineType: m1.medium
maxSize: 2
minSize: 2
nodeLabels:
kops.k8s.io/instancegroup: nodes-nova
role: Node
subnets:
- nova
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment