Skip to content

Instantly share code, notes, and snippets.

@alena1108
Created September 25, 2018 17:16
Show Gist options
  • Save alena1108/8f275ddbb05d9e5af207d813baf59e79 to your computer and use it in GitHub Desktop.
Save alena1108/8f275ddbb05d9e5af207d813baf59e79 to your computer and use it in GitHub Desktop.
Provisioning state
Not available
Not available
Not available
admin Log Out
{
"actions": {
"exportYaml": "…/v3/clusters/c-4qd4z?action=exportYaml",
"generateKubeconfig": "…/v3/clusters/c-4qd4z?action=generateKubeconfig",
"importYaml": "…/v3/clusters/c-4qd4z?action=importYaml"
},
"agentImage": "",
"allocatable": {
"cpu": "2",
"memory": "3942704Ki",
"pods": "110"
},
"annotations": {
"authz.management.cattle.io/creator-role-bindings": "{\"created\":[\"cluster-owner\"],\"required\":[\"cluster-owner\"]}",
"lifecycle.cattle.io/create.cluster-agent-controller-cleanup": "true",
"lifecycle.cattle.io/create.cluster-provisioner-controller": "true",
"lifecycle.cattle.io/create.cluster-scoped-gc": "true",
"lifecycle.cattle.io/create.mgmt-cluster-rbac-remove": "true"
},
"apiEndpoint": "https://18.220.14.63:6443",
"appliedEnableNetworkPolicy": false,
"appliedPodSecurityPolicyTemplateId": "",
"appliedSpec": {
"defaultClusterRoleForProjectMembers": null,
"defaultPodSecurityPolicyTemplateId": null,
"description": "",
"desiredAgentImage": "",
"displayName": "test-27699",
"dockerRootDir": "/var/lib/docker",
"enableNetworkPolicy": false,
"internal": false,
"rancherKubernetesEngineConfig": {
"addonJobTimeout": 30,
"authentication": {
"strategy": "x509",
"type": "/v3/schemas/authnConfig"
},
"authorization": {
"type": "/v3/schemas/authzConfig"
},
"bastionHost": {
"sshAgentAuth": false,
"type": "/v3/schemas/bastionHost"
},
"cloudProvider": {
"type": "/v3/schemas/cloudProvider"
},
"ignoreDockerVersion": true,
"ingress": {
"provider": "nginx",
"type": "/v3/schemas/ingressConfig"
},
"kubernetesVersion": "v1.11.3-rancher1-1",
"monitoring": {
"provider": "metrics-server",
"type": "/v3/schemas/monitoringConfig"
},
"network": {
"plugin": "canal",
"type": "/v3/schemas/networkConfig"
},
"nodes": [ 5 items
{
"address": "18.220.14.63",
"hostnameOverride": "ip-172-31-10-220",
"internalAddress": "172.31.10.220",
"nodeId": "c-4qd4z:m-1704b5ad21cc",
"port": "22",
"role": [
"controlplane"
],
"sshAgentAuth": false,
"type": "/v3/schemas/rkeConfigNode",
"user": "root"
},
{
"address": "52.14.44.72",
"hostnameOverride": "ip-172-31-14-53",
"internalAddress": "172.31.14.53",
"nodeId": "c-4qd4z:m-64a3fcd516e9",
"port": "22",
"role": [
"worker"
],
"sshAgentAuth": false,
"type": "/v3/schemas/rkeConfigNode",
"user": "root"
},
{
"address": "18.191.37.182",
"hostnameOverride": "ip-172-31-13-111",
"internalAddress": "172.31.13.111",
"nodeId": "c-4qd4z:m-64f7fe240ee9",
"port": "22",
"role": [
"controlplane"
],
"sshAgentAuth": false,
"type": "/v3/schemas/rkeConfigNode",
"user": "root"
},
{
"address": "18.191.186.25",
"hostnameOverride": "ip-172-31-4-189",
"internalAddress": "172.31.4.189",
"nodeId": "c-4qd4z:m-7eb1a00b770a",
"port": "22",
"role": [
"etcd"
],
"sshAgentAuth": false,
"type": "/v3/schemas/rkeConfigNode",
"user": "root"
},
{
"address": "18.191.239.51",
"hostnameOverride": "ip-172-31-3-40",
"internalAddress": "172.31.3.40",
"nodeId": "c-4qd4z:m-f637a6daff68",
"port": "22",
"role": [
"etcd"
],
"sshAgentAuth": false,
"type": "/v3/schemas/rkeConfigNode",
"user": "root"
}
],
"services": {
"etcd": {
"extraArgs": {
"election-timeout": "5000",
"heartbeat-interval": "500"
},
"snapshot": false,
"type": "/v3/schemas/etcdService"
},
"kubeApi": {
"podSecurityPolicy": false,
"serviceNodePortRange": "30000-32767",
"type": "/v3/schemas/kubeAPIService"
},
"kubeController": {
"type": "/v3/schemas/kubeControllerService"
},
"kubelet": {
"failSwapOn": false,
"type": "/v3/schemas/kubeletService"
},
"kubeproxy": {
"type": "/v3/schemas/kubeproxyService"
},
"scheduler": {
"type": "/v3/schemas/schedulerService"
},
"type": "/v3/schemas/rkeConfigServices"
},
"sshAgentAuth": false,
"type": "/v3/schemas/rancherKubernetesEngineConfig"
},
"type": "/v3/schemas/clusterSpec"
},
"baseType": "cluster",
"caCert": "LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSUN3akNDQWFxZ0F3SUJBZ0lCQURBTkJna3Foa2lHOXcwQkFRc0ZBREFTTVJBd0RnWURWUVFERXdkcmRXSmwKTFdOaE1CNFhEVEU0TURreU5UQXdNREV3T1ZvWERUSTRNRGt5TWpBd01ERXdPVm93RWpFUU1BNEdBMVVFQXhNSAphM1ZpWlMxallUQ0NBU0l3RFFZSktvWklodmNOQVFFQkJRQURnZ0VQQURDQ0FRb0NnZ0VCQU1ZNVEvcVZrTVhkCkpZOEZNTnVGdHNiR2F3TXFVbWJwTFU1SlZZSjFsL0tXYmNKK1c1QTQ3K0tNOXdkUnVEQkN4TUNLelR2RW5UMWYKb0lqUFhMQmdTTHFVZ1VlT2JPMWlUd2ZldXg0dm9LeURHeG4xNkNwcGJQUFd3YmRiWmphdlkyWDV0akg5V3ZiNAowMjk5aHNVQ3VCTmtENjg4SEk0Y0tCVjJGanJVMllNUEJ5YVYwQXpyOHdnWVFDS3F1b2U2Qk43UmQ3VlNYdDZpCmZFZC9WeGpwVnpHL01uUW1NdnpQeTNNQ3BjM0dxbDhjVWFXNXZhQTQ0NzNFWWloQ0svRzNVS0Z5bVJGdXVuMlUKVWtLU21aRkw1KzR4bm9mY0tiV2ZSNkNVSGxFVGJ0U3dKOU03dTY5NWdnTlVRV0JHVTlRMHY1N2JXV1hFTzI5Rwp3enRNSUJDc1MyOENBd0VBQWFNak1DRXdEZ1lEVlIwUEFRSC9CQVFEQWdLa01BOEdBMVVkRXdFQi93UUZNQU1CCkFmOHdEUVlKS29aSWh2Y05BUUVMQlFBRGdnRUJBSEdOenBKZ0tyN2dBeGJ6SUVGVzFrV3N1WjBRN1l4VVJoOFcKT1BkYVRBU3I3eitUNkNITGM5TmtwY0hGWnRNRnlBajdhOW9RaGhxY1hlUWNPalpHMTlValVxVE9xSTNQOXc1cgpja0dTblhibHFyRkVIV1Nzb3NPQ1plQ3h1SGVjcUluSnBWWUNBbXBQci9oVXZCeFRXTWs1Z21jb1V6RkRUVXVkCnVwc0hZZXN6Nmp2S0ZRYnluT0h0OXRpU3lRSThISUxYNnFrenNGZ2JFWTJYNGFPTUl0cXpEeDc4OXdDTnB4T20KcUhXTU9WVUgxSm82MkthUkpyU0RxRGdxa2Jsc21OdVRCZ0FSRldOc2VtdkUyRUl5MXBIUzBDVlBEVGJOelFUeQplMWFUNDA4RzZGdGdNMEMrdWFMVUFBWHlhckl5NXZ1THIyclZOMTZWMmNYckEvMFB3VEU9Ci0tLS0tRU5EIENFUlRJRklDQVRFLS0tLS0K",
"capacity": {
"cpu": "2",
"memory": "4045104Ki",
"pods": "110"
},
"componentStatuses": [ 4 items
{
"conditions": [
{
"message": "ok",
"status": "True",
"type": "Healthy"
}
],
"name": "controller-manager",
"type": "/v3/schemas/clusterComponentStatus"
},
{
"conditions": [
{
"message": "Get https://172.31.4.189:2379/health: net/http: TLS handshake timeout",
"status": "False",
"type": "Healthy"
}
],
"name": "etcd-0",
"type": "/v3/schemas/clusterComponentStatus"
},
{
"conditions": [
{
"message": "{\"health\": \"true\"}",
"status": "True",
"type": "Healthy"
}
],
"name": "etcd-1",
"type": "/v3/schemas/clusterComponentStatus"
},
{
"conditions": [
{
"message": "ok",
"status": "True",
"type": "Healthy"
}
],
"name": "scheduler",
"type": "/v3/schemas/clusterComponentStatus"
}
],
"conditions": [ 15 items
{
"lastUpdateTime": "2018-09-25T00:00:13Z",
"status": "True",
"type": "BackingNamespaceCreated"
},
{
"lastUpdateTime": "2018-09-25T00:00:13Z",
"status": "True",
"type": "DefaultProjectCreated"
},
{
"lastUpdateTime": "2018-09-25T00:00:13Z",
"status": "True",
"type": "SystemProjectCreated"
},
{
"lastUpdateTime": "2018-09-25T00:00:13Z",
"status": "True",
"type": "InitialRolesPopulated"
},
{
"lastUpdateTime": "2018-09-25T00:00:13Z",
"status": "True",
"type": "Pending"
},
{
"lastUpdateTime": "2018-09-25T00:05:27Z",
"status": "True",
"type": "Provisioned"
},
{
"lastUpdateTime": "2018-09-25T00:03:21Z",
"status": "True",
"type": "Waiting"
},
{
"lastUpdateTime": "2018-09-25T00:00:13Z",
"status": "True",
"type": "NoDiskPressure"
},
{
"lastUpdateTime": "2018-09-25T00:00:13Z",
"status": "True",
"type": "NoMemoryPressure"
},
{
"lastUpdateTime": "2018-09-25T00:00:13Z",
"status": "True",
"type": "CreatorMadeOwner"
},
{
"lastUpdateTime": "2018-09-25T00:03:12Z",
"status": "True",
"type": "GlobalAdminsSynced"
},
{
"lastUpdateTime": "2018-09-25T16:37:24Z",
"message": "Failed to communicate with API server: Get https://18.220.14.63:6443/api/v1/componentstatuses?timeout=30s: dial tcp 127.0.0.1:6443: connect: connection refused",
"reason": "ComponentStatsFetchingFailure",
"status": "False",
"type": "Ready"
},
{
"lastUpdateTime": "2018-09-25T16:33:20Z",
"message": "[network] Host [18.191.239.51] is not able to connect to the following ports: [172.31.4.189:2379]. Please check network policies and firewall rules",
"reason": "Error",
"status": "False",
"type": "Updated"
},
{
"lastUpdateTime": "2018-09-25T00:08:41Z",
"status": "True",
"type": "SystemAccountCreated"
},
{
"lastUpdateTime": "2018-09-25T00:18:58Z",
"message": "exit status 1, Error from server (Timeout): the server was unable to return a response in the time allotted, but may still be processing the request\n",
"reason": "Error",
"status": "False",
"type": "AgentDeployed"
}
],
"created": "2018-09-25T00:00:13Z",
"createdTS": 1537833613000,
"creatorId": "user-hdhck",
"defaultClusterRoleForProjectMembers": null,
"defaultPodSecurityPolicyTemplateId": null,
"description": "",
"desiredAgentImage": "",
"dockerRootDir": "/var/lib/docker",
"driver": "rancherKubernetesEngine",
"enableNetworkPolicy": false,
"failedSpec": {
"defaultClusterRoleForProjectMembers": null,
"defaultPodSecurityPolicyTemplateId": null,
"description": "",
"desiredAgentImage": "",
"displayName": "test-27699",
"dockerRootDir": "/var/lib/docker",
"enableNetworkPolicy": false,
"internal": false,
"rancherKubernetesEngineConfig": {
"addonJobTimeout": 30,
"authentication": {
"strategy": "x509",
"type": "/v3/schemas/authnConfig"
},
"authorization": {
"type": "/v3/schemas/authzConfig"
},
"bastionHost": {
"sshAgentAuth": false,
"type": "/v3/schemas/bastionHost"
},
"cloudProvider": {
"type": "/v3/schemas/cloudProvider"
},
"ignoreDockerVersion": true,
"ingress": {
"provider": "nginx",
"type": "/v3/schemas/ingressConfig"
},
"kubernetesVersion": "v1.11.3-rancher1-1",
"monitoring": {
"provider": "metrics-server",
"type": "/v3/schemas/monitoringConfig"
},
"network": {
"plugin": "canal",
"type": "/v3/schemas/networkConfig"
},
"nodes": [ 8 items
{
"address": "18.220.14.63",
"hostnameOverride": "ip-172-31-10-220",
"internalAddress": "172.31.10.220",
"nodeId": "c-4qd4z:m-1704b5ad21cc",
"port": "22",
"role": [
"controlplane"
],
"sshAgentAuth": false,
"type": "/v3/schemas/rkeConfigNode",
"user": "root"
},
{
"address": "18.219.248.164",
"hostnameOverride": "ip-172-31-0-236",
"internalAddress": "172.31.0.236",
"nodeId": "c-4qd4z:m-51c6575e53d5",
"port": "22",
"role": [
"etcd"
],
"sshAgentAuth": false,
"type": "/v3/schemas/rkeConfigNode",
"user": "root"
},
{
"address": "52.14.44.72",
"hostnameOverride": "ip-172-31-14-53",
"internalAddress": "172.31.14.53",
"nodeId": "c-4qd4z:m-64a3fcd516e9",
"port": "22",
"role": [
"worker"
],
"sshAgentAuth": false,
"type": "/v3/schemas/rkeConfigNode",
"user": "root"
},
{
"address": "18.191.37.182",
"hostnameOverride": "ip-172-31-13-111",
"internalAddress": "172.31.13.111",
"nodeId": "c-4qd4z:m-64f7fe240ee9",
"port": "22",
"role": [
"controlplane"
],
"sshAgentAuth": false,
"type": "/v3/schemas/rkeConfigNode",
"user": "root"
},
{
"address": "18.191.186.25",
"hostnameOverride": "ip-172-31-4-189",
"internalAddress": "172.31.4.189",
"nodeId": "c-4qd4z:m-7eb1a00b770a",
"port": "22",
"role": [
"etcd"
],
"sshAgentAuth": false,
"type": "/v3/schemas/rkeConfigNode",
"user": "root"
},
{
"address": "18.224.33.195",
"hostnameOverride": "ip-172-31-11-221",
"internalAddress": "172.31.11.221",
"nodeId": "c-4qd4z:m-98fad1d52705",
"port": "22",
"role": [
"worker"
],
"sshAgentAuth": false,
"type": "/v3/schemas/rkeConfigNode",
"user": "root"
},
{
"address": "18.218.235.81",
"hostnameOverride": "ip-172-31-2-15",
"internalAddress": "172.31.2.15",
"nodeId": "c-4qd4z:m-c1016b2e283c",
"port": "22",
"role": [
"worker"
],
"sshAgentAuth": false,
"type": "/v3/schemas/rkeConfigNode",
"user": "root"
},
{
"address": "18.191.239.51",
"hostnameOverride": "ip-172-31-3-40",
"internalAddress": "172.31.3.40",
"nodeId": "c-4qd4z:m-f637a6daff68",
"port": "22",
"role": [
"etcd"
],
"sshAgentAuth": false,
"type": "/v3/schemas/rkeConfigNode",
"user": "root"
}
],
"services": {
"etcd": {
"extraArgs": {
"election-timeout": "5000",
"heartbeat-interval": "500"
},
"snapshot": false,
"type": "/v3/schemas/etcdService"
},
"kubeApi": {
"podSecurityPolicy": false,
"serviceNodePortRange": "30000-32767",
"type": "/v3/schemas/kubeAPIService"
},
"kubeController": {
"type": "/v3/schemas/kubeControllerService"
},
"kubelet": {
"failSwapOn": false,
"type": "/v3/schemas/kubeletService"
},
"kubeproxy": {
"type": "/v3/schemas/kubeproxyService"
},
"scheduler": {
"type": "/v3/schemas/schedulerService"
},
"type": "/v3/schemas/rkeConfigServices"
},
"sshAgentAuth": false,
"type": "/v3/schemas/rancherKubernetesEngineConfig"
},
"type": "/v3/schemas/clusterSpec"
},
"id": "c-4qd4z",
"internal": false,
"labels": {
"cattle.io/creator": "norman"
},
"limits": {
"cpu": "0",
"memory": "0",
"pods": "0"
},
"links": {
"clusterAlerts": "…/v3/clusters/c-4qd4z/clusteralerts",
"clusterEvents": "…/v3/clusters/c-4qd4z/clusterevents",
"clusterLoggings": "…/v3/clusters/c-4qd4z/clusterloggings",
"clusterRegistrationTokens": "…/v3/clusters/c-4qd4z/clusterregistrationtokens",
"clusterRoleTemplateBindings": "…/v3/clusters/c-4qd4z/clusterroletemplatebindings",
"namespaces": "…/v3/clusters/c-4qd4z/namespaces",
"nodePools": "…/v3/clusters/c-4qd4z/nodepools",
"nodes": "…/v3/clusters/c-4qd4z/nodes",
"notifiers": "…/v3/clusters/c-4qd4z/notifiers",
"persistentVolumes": "…/v3/clusters/c-4qd4z/persistentvolumes",
"projects": "…/v3/clusters/c-4qd4z/projects",
"remove": "…/v3/clusters/c-4qd4z",
"self": "…/v3/clusters/c-4qd4z",
"shell": "wss://206.81.5.129/v3/clusters/c-4qd4z?shell=true",
"storageClasses": "…/v3/clusters/c-4qd4z/storageclasses",
"subscribe": "…/v3/clusters/c-4qd4z/subscribe",
"update": "…/v3/clusters/c-4qd4z"
},
"name": "test-27699",
"rancherKubernetesEngineConfig": {
"addonJobTimeout": 30,
"authentication": {
"strategy": "x509",
"type": "/v3/schemas/authnConfig"
},
"authorization": {
"type": "/v3/schemas/authzConfig"
},
"bastionHost": {
"sshAgentAuth": false,
"type": "/v3/schemas/bastionHost"
},
"cloudProvider": {
"type": "/v3/schemas/cloudProvider"
},
"ignoreDockerVersion": true,
"ingress": {
"provider": "nginx",
"type": "/v3/schemas/ingressConfig"
},
"kubernetesVersion": "v1.11.3-rancher1-1",
"monitoring": {
"provider": "metrics-server",
"type": "/v3/schemas/monitoringConfig"
},
"network": {
"plugin": "canal",
"type": "/v3/schemas/networkConfig"
},
"services": {
"etcd": {
"extraArgs": {
"election-timeout": "5000",
"heartbeat-interval": "500"
},
"snapshot": false,
"type": "/v3/schemas/etcdService"
},
"kubeApi": {
"podSecurityPolicy": false,
"serviceNodePortRange": "30000-32767",
"type": "/v3/schemas/kubeAPIService"
},
"kubeController": {
"type": "/v3/schemas/kubeControllerService"
},
"kubelet": {
"failSwapOn": false,
"type": "/v3/schemas/kubeletService"
},
"kubeproxy": {
"type": "/v3/schemas/kubeproxyService"
},
"scheduler": {
"type": "/v3/schemas/schedulerService"
},
"type": "/v3/schemas/rkeConfigServices"
},
"sshAgentAuth": false,
"type": "/v3/schemas/rancherKubernetesEngineConfig"
},
"requested": {
"cpu": "250m",
"memory": "0",
"pods": "2"
},
"state": "provisioning",
"transitioning": "error",
"transitioningMessage": "[network] Host [18.191.239.51] is not able to connect to the following ports: [172.31.4.189:2379]. Please check network policies and firewall rules; exit status 1, Error from server (Timeout): the server was unable to return a response in the time allotted, but may still be processing the request\n",
"type": "cluster",
"uuid": "fa2cb1e9-c055-11e8-92a1-0242ac110002"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment