Does cloud-provider-aws support dual-stack? If yes, where can I get the official docker image?
What you expected to happen:
cloud-provider-aws with dual-stack can work well, can get node's IPv4/IPv6 interfaces. Following is the openstack output
# kubectl get nodes henry-dual-we-01 -o go-template --template='{{range .status.addresses}}{{printf "%s: %s \n" .type .address}}{{end}}'
InternalIP: 10.75.72.170
InternalIP: 192.16.1.15
InternalIP: 2001:282:4000:2000::9
Hostname: henry-dual-we-01
---
apiVersion: v1
kind: ServiceAccount
metadata:
name: cloud-controller-manager
namespace: kube-system
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: aws-cloud-controller-manager
namespace: kube-system
labels:
k8s-app: aws-cloud-controller-manager
spec:
selector:
matchLabels:
k8s-app: aws-cloud-controller-manager
updateStrategy:
type: RollingUpdate
template:
metadata:
labels:
k8s-app: aws-cloud-controller-manager
spec:
nodeSelector:
node-role.kubernetes.io/master: ""
securityContext:
runAsUser: 1001
tolerations:
- key: node.cloudprovider.kubernetes.io/uninitialized
value: "true"
effect: NoSchedule
- key: node-role.kubernetes.io/master
effect: NoSchedule
- effect: NoSchedule
key: node.kubernetes.io/not-ready
serviceAccountName: cloud-controller-manager
containers:
- name: aws-cloud-controller-manager
image: parchment/aws-cloud-controller-manager:latest
#image: docker.io/k8scloudprovider/openstack-cloud-controller-manager:latest
args:
- --v=5
- --cloud-provider=aws
- --use-service-account-credentials=false
- --feature-gates=IPv6DualStack=true
- --address=127.0.0.1
volumeMounts:
- mountPath: /usr/libexec/kubernetes/kubelet-plugins/volume/exec
name: flexvolume-dir
resources:
requests:
cpu: 200m
hostNetwork: true
volumes:
- hostPath:
path: /usr/libexec/kubernetes/kubelet-plugins/volume/exec
type: DirectoryOrCreate
name: flexvolume-dir
[root@ip-10-0-0-217 ~]# kubectl logs -f -n kube-system aws-cloud-controller-manager-qrq5p
I0313 08:42:38.386148 1 feature_gate.go:243] feature gates: &{map[IPv6DualStack:true]}
Flag --address has been deprecated, see --bind-address instead.
I0313 08:42:38.386274 1 flags.go:33] FLAG: --add-dir-header="false"
I0313 08:42:38.386296 1 flags.go:33] FLAG: --address="127.0.0.1"
I0313 08:42:38.386306 1 flags.go:33] FLAG: --allocate-node-cidrs="false"
I0313 08:42:38.386320 1 flags.go:33] FLAG: --allow-untagged-cloud="false"
I0313 08:42:38.386328 1 flags.go:33] FLAG: --alsologtostderr="false"
I0313 08:42:38.386334 1 flags.go:33] FLAG: --authentication-kubeconfig=""
I0313 08:42:38.386342 1 flags.go:33] FLAG: --authentication-skip-lookup="false"
I0313 08:42:38.386349 1 flags.go:33] FLAG: --authentication-token-webhook-cache-ttl="10s"
I0313 08:42:38.386358 1 flags.go:33] FLAG: --authentication-tolerate-lookup-failure="false"
I0313 08:42:38.386365 1 flags.go:33] FLAG: --authorization-always-allow-paths="[/healthz]"
I0313 08:42:38.386773 1 flags.go:33] FLAG: --authorization-kubeconfig=""
I0313 08:42:38.386921 1 flags.go:33] FLAG: --authorization-webhook-cache-authorized-ttl="10s"
I0313 08:42:38.387051 1 flags.go:33] FLAG: --authorization-webhook-cache-unauthorized-ttl="10s"
I0313 08:42:38.387146 1 flags.go:33] FLAG: --bind-address="0.0.0.0"
I0313 08:42:38.387294 1 flags.go:33] FLAG: --cert-dir=""
I0313 08:42:38.387434 1 flags.go:33] FLAG: --cidr-allocator-type="RangeAllocator"
I0313 08:42:38.387539 1 flags.go:33] FLAG: --client-ca-file=""
I0313 08:42:38.387687 1 flags.go:33] FLAG: --cloud-config=""
I0313 08:42:38.387827 1 flags.go:33] FLAG: --cloud-provider="aws"
I0313 08:42:38.387923 1 flags.go:33] FLAG: --cluster-cidr=""
I0313 08:42:38.388064 1 flags.go:33] FLAG: --cluster-name="kubernetes"
I0313 08:42:38.388195 1 flags.go:33] FLAG: --concurrent-service-syncs="1"
I0313 08:42:38.388298 1 flags.go:33] FLAG: --configure-cloud-routes="true"
I0313 08:42:38.388441 1 flags.go:33] FLAG: --contention-profiling="false"
I0313 08:42:38.388568 1 flags.go:33] FLAG: --controller-start-interval="0s"
I0313 08:42:38.388717 1 flags.go:33] FLAG: --controllers="[*]"
I0313 08:42:38.388836 1 flags.go:33] FLAG: --external-cloud-volume-plugin=""
I0313 08:42:38.388979 1 flags.go:33] FLAG: --feature-gates="IPv6DualStack=true"
I0313 08:42:38.389135 1 flags.go:33] FLAG: --help="false"
I0313 08:42:38.389264 1 flags.go:33] FLAG: --http2-max-streams-per-connection="0"
I0313 08:42:38.389366 1 flags.go:33] FLAG: --kube-api-burst="30"
I0313 08:42:38.389509 1 flags.go:33] FLAG: --kube-api-content-type="application/vnd.kubernetes.protobuf"
I0313 08:42:38.389645 1 flags.go:33] FLAG: --kube-api-qps="20"
I0313 08:42:38.389745 1 flags.go:33] FLAG: --kubeconfig=""
I0313 08:42:38.389888 1 flags.go:33] FLAG: --leader-elect="true"
I0313 08:42:38.389905 1 flags.go:33] FLAG: --leader-elect-lease-duration="15s"
I0313 08:42:38.389913 1 flags.go:33] FLAG: --leader-elect-renew-deadline="10s"
I0313 08:42:38.389921 1 flags.go:33] FLAG: --leader-elect-resource-lock="endpointsleases"
I0313 08:42:38.389929 1 flags.go:33] FLAG: --leader-elect-resource-name="cloud-controller-manager"
I0313 08:42:38.389967 1 flags.go:33] FLAG: --leader-elect-resource-namespace="kube-system"
I0313 08:42:38.389978 1 flags.go:33] FLAG: --leader-elect-retry-period="2s"
I0313 08:42:38.389986 1 flags.go:33] FLAG: --log-backtrace-at=":0"
I0313 08:42:38.389996 1 flags.go:33] FLAG: --log-dir=""
I0313 08:42:38.390004 1 flags.go:33] FLAG: --log-file=""
I0313 08:42:38.390012 1 flags.go:33] FLAG: --log-file-max-size="1800"
I0313 08:42:38.390020 1 flags.go:33] FLAG: --log-flush-frequency="5s"
I0313 08:42:38.390028 1 flags.go:33] FLAG: --logtostderr="true"
I0313 08:42:38.390036 1 flags.go:33] FLAG: --master=""
I0313 08:42:38.390044 1 flags.go:33] FLAG: --min-resync-period="12h0m0s"
I0313 08:42:38.390052 1 flags.go:33] FLAG: --node-monitor-period="5s"
I0313 08:42:38.390059 1 flags.go:33] FLAG: --node-status-update-frequency="5m0s"
I0313 08:42:38.390067 1 flags.go:33] FLAG: --node-sync-period="0s"
I0313 08:42:38.390074 1 flags.go:33] FLAG: --port="0"
I0313 08:42:38.390082 1 flags.go:33] FLAG: --profiling="false"
I0313 08:42:38.390089 1 flags.go:33] FLAG: --requestheader-allowed-names="[]"
I0313 08:42:38.390103 1 flags.go:33] FLAG: --requestheader-client-ca-file=""
I0313 08:42:38.390110 1 flags.go:33] FLAG: --requestheader-extra-headers-prefix="[x-remote-extra-]"
I0313 08:42:38.390120 1 flags.go:33] FLAG: --requestheader-group-headers="[x-remote-group]"
I0313 08:42:38.390129 1 flags.go:33] FLAG: --requestheader-username-headers="[x-remote-user]"
I0313 08:42:38.390138 1 flags.go:33] FLAG: --route-reconciliation-period="10s"
I0313 08:42:38.390146 1 flags.go:33] FLAG: --secure-port="10258"
I0313 08:42:38.390153 1 flags.go:33] FLAG: --skip-headers="false"
I0313 08:42:38.390161 1 flags.go:33] FLAG: --skip-log-headers="false"
I0313 08:42:38.390167 1 flags.go:33] FLAG: --stderrthreshold="2"
I0313 08:42:38.390175 1 flags.go:33] FLAG: --tls-cert-file=""
I0313 08:42:38.390182 1 flags.go:33] FLAG: --tls-cipher-suites="[]"
I0313 08:42:38.390192 1 flags.go:33] FLAG: --tls-min-version=""
I0313 08:42:38.390199 1 flags.go:33] FLAG: --tls-private-key-file=""
I0313 08:42:38.390206 1 flags.go:33] FLAG: --tls-sni-cert-key="[]"
I0313 08:42:38.390216 1 flags.go:33] FLAG: --use-service-account-credentials="false"
I0313 08:42:38.390223 1 flags.go:33] FLAG: --v="5"
I0313 08:42:38.390230 1 flags.go:33] FLAG: --version="false"
I0313 08:42:38.390246 1 flags.go:33] FLAG: --vmodule=""
I0313 08:42:38.698871 1 serving.go:312] Generated self-signed cert in-memory
W0313 08:42:39.160232 1 configmap_cafile_content.go:102] unable to load initial CA bundle for: "client-ca::kube-system::extension-apiserver-authentication::client-ca-file" due to: configmap "extension-apiserver-authentication" not found
W0313 08:42:39.160414 1 configmap_cafile_content.go:102] unable to load initial CA bundle for: "client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file" due to: configmap "extension-apiserver-authentication" not found
W0313 08:42:39.172285 1 client_config.go:543] Neither --kubeconfig nor --master was specified. Using the inClusterConfig. This might not work.
I0313 08:42:39.175457 1 controllermanager.go:120] Version: v0.0.0-master+$Format:%h$
W0313 08:42:39.175491 1 plugins.go:115] WARNING: aws built-in cloud provider is now deprecated. The AWS provider is deprecated and will be removed in a future release
I0313 08:42:39.175771 1 aws.go:1214] Building AWS cloudprovider
I0313 08:42:39.175898 1 aws.go:1180] Zone not specified in configuration file; querying AWS metadata service
I0313 08:42:39.177833 1 log_handler.go:34] AWS API Send: ec2metadata GetMetadata &{GetMetadata GET /meta-data/placement/availability-zone <nil> <nil>} <nil>
I0313 08:42:39.178253 1 log_handler.go:39] AWS API ValidateResponse: ec2metadata GetMetadata &{GetMetadata GET /meta-data/placement/availability-zone <nil> <nil>} <nil> 200 OK
I0313 08:42:39.180859 1 log_handler.go:34] AWS API Send: ec2metadata GetMetadata &{GetMetadata GET /meta-data/instance-id <nil> <nil>} <nil>
I0313 08:42:39.180929 1 log_handler.go:39] AWS API ValidateResponse: ec2metadata GetMetadata &{GetMetadata GET /meta-data/instance-id <nil> <nil>} <nil> 200 OK
I0313 08:42:39.181192 1 log_handler.go:29] AWS request: ec2 DescribeInstances
I0313 08:42:39.287589 1 log_handler.go:34] AWS API Send: ec2 DescribeInstances &{DescribeInstances POST / 0xc000238f00 <nil>} {
InstanceIds: ["i-07b0eadfbfa7a1af7"]
}
I0313 08:42:39.287679 1 log_handler.go:39] AWS API ValidateResponse: ec2 DescribeInstances &{DescribeInstances POST / 0xc000238f00 <nil>} {
InstanceIds: ["i-07b0eadfbfa7a1af7"]
} 200 OK
I0313 08:42:39.290853 1 log_handler.go:29] AWS request: ec2 DescribeInstances
I0313 08:42:39.347071 1 log_handler.go:34] AWS API Send: ec2 DescribeInstances &{DescribeInstances POST / 0xc0007a2190 <nil>} {
InstanceIds: ["i-07b0eadfbfa7a1af7"]
}
I0313 08:42:39.347119 1 log_handler.go:39] AWS API ValidateResponse: ec2 DescribeInstances &{DescribeInstances POST / 0xc0007a2190 <nil>} {
InstanceIds: ["i-07b0eadfbfa7a1af7"]
} 200 OK
I0313 08:42:39.350647 1 tags.go:79] AWS cloud filtering on ClusterID: henry
I0313 08:42:39.350701 1 healthz.go:123] Installing health checkers for (/healthz): "leaderElection"
I0313 08:42:39.352377 1 configmap_cafile_content.go:205] Starting client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file
I0313 08:42:39.352405 1 shared_informer.go:197] Waiting for caches to sync for client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file
I0313 08:42:39.352472 1 configmap_cafile_content.go:205] Starting client-ca::kube-system::extension-apiserver-authentication::client-ca-file
I0313 08:42:39.352499 1 shared_informer.go:197] Waiting for caches to sync for client-ca::kube-system::extension-apiserver-authentication::client-ca-file
I0313 08:42:39.352976 1 reflector.go:153] Starting reflector *v1.ConfigMap (12h0m0s) from k8s.io/[email protected]/tools/cache/reflector.go:108
I0313 08:42:39.353028 1 reflector.go:188] Listing and watching *v1.ConfigMap from k8s.io/[email protected]/tools/cache/reflector.go:108
I0313 08:42:39.353851 1 reflector.go:153] Starting reflector *v1.ConfigMap (12h0m0s) from k8s.io/[email protected]/tools/cache/reflector.go:108
I0313 08:42:39.353867 1 reflector.go:188] Listing and watching *v1.ConfigMap from k8s.io/[email protected]/tools/cache/reflector.go:108
I0313 08:42:39.358574 1 tlsconfig.go:179] loaded serving cert ["Generated self signed cert"]: "localhost@1584088958" [serving] validServingFor=[127.0.0.1,localhost,localhost] issuer="localhost-ca@1584088958" (2020-03-13 07:42:38 +0000 UTC to 2021-03-13 07:42:38 +0000 UTC (now=2020-03-13 08:42:39.358540827 +0000 UTC))
I0313 08:42:39.362357 1 named_certificates.go:52] loaded SNI cert [0/"self-signed loopback"]: "apiserver-loopback-client@1584088959" [serving] validServingFor=[apiserver-loopback-client] issuer="apiserver-loopback-client-ca@1584088958" (2020-03-13 07:42:38 +0000 UTC to 2021-03-13 07:42:38 +0000 UTC (now=2020-03-13 08:42:39.362337843 +0000 UTC))
I0313 08:42:39.362423 1 secure_serving.go:178] Serving securely on [::]:10258
I0313 08:42:39.362487 1 leaderelection.go:242] attempting to acquire leader lease kube-system/cloud-controller-manager...
I0313 08:42:39.362576 1 tlsconfig.go:219] Starting DynamicServingCertificateController
I0313 08:42:39.376348 1 leaderelection.go:352] lock is held by ip-10-0-0-217.us-east-2.compute.internal_d2057a2d-0543-4a7b-bc20-863fef995622 and has not yet expired
I0313 08:42:39.376416 1 leaderelection.go:247] failed to acquire lease kube-system/cloud-controller-manager
I0313 08:42:39.452679 1 shared_informer.go:227] caches populated
I0313 08:42:39.452711 1 shared_informer.go:204] Caches are synced for client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file
I0313 08:42:39.453430 1 tlsconfig.go:157] loaded client CA [0/"client-ca::kube-system::extension-apiserver-authentication::client-ca-file,client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file"]: "front-proxy-ca" [] issuer="<self>" (2020-03-12 03:30:08 +0000 UTC to 2030-03-10 03:30:08 +0000 UTC (now=2020-03-13 08:42:39.453402296 +0000 UTC))
I0313 08:42:39.454789 1 tlsconfig.go:179] loaded serving cert ["Generated self signed cert"]: "localhost@1584088958" [serving] validServingFor=[127.0.0.1,localhost,localhost] issuer="localhost-ca@1584088958" (2020-03-13 07:42:38 +0000 UTC to 2021-03-13 07:42:38 +0000 UTC (now=2020-03-13 08:42:39.454767178 +0000 UTC))
I0313 08:42:39.455684 1 shared_informer.go:227] caches populated
I0313 08:42:39.455714 1 shared_informer.go:204] Caches are synced for client-ca::kube-system::extension-apiserver-authentication::client-ca-file
I0313 08:42:39.456167 1 named_certificates.go:52] loaded SNI cert [0/"self-signed loopback"]: "apiserver-loopback-client@1584088959" [serving] validServingFor=[apiserver-loopback-client] issuer="apiserver-loopback-client-ca@1584088958" (2020-03-13 07:42:38 +0000 UTC to 2021-03-13 07:42:38 +0000 UTC (now=2020-03-13 08:42:39.456098292 +0000 UTC))
I0313 08:42:39.458427 1 tlsconfig.go:157] loaded client CA [0/"client-ca::kube-system::extension-apiserver-authentication::client-ca-file,client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file"]: "kubernetes" [] issuer="<self>" (2020-03-12 03:30:07 +0000 UTC to 2030-03-10 03:30:07 +0000 UTC (now=2020-03-13 08:42:39.458410411 +0000 UTC))
I0313 08:42:39.458573 1 tlsconfig.go:157] loaded client CA [1/"client-ca::kube-system::extension-apiserver-authentication::client-ca-file,client-ca::kube-system::extension-apiserver-authentication::requestheader-client-ca-file"]: "front-proxy-ca" [] issuer="<self>" (2020-03-12 03:30:08 +0000 UTC to 2030-03-10 03:30:08 +0000 UTC (now=2020-03-13 08:42:39.458551365 +0000 UTC))
I0313 08:42:39.459916 1 tlsconfig.go:179] loaded serving cert ["Generated self signed cert"]: "localhost@1584088958" [serving] validServingFor=[127.0.0.1,localhost,localhost] issuer="localhost-ca@1584088958" (2020-03-13 07:42:38 +0000 UTC to 2021-03-13 07:42:38 +0000 UTC (now=2020-03-13 08:42:39.459894389 +0000 UTC))
I0313 08:42:39.460302 1 named_certificates.go:52] loaded SNI cert [0/"self-signed loopback"]: "apiserver-loopback-client@1584088959" [serving] validServingFor=[apiserver-loopback-client] issuer="apiserver-loopback-client-ca@1584088958" (2020-03-13 07:42:38 +0000 UTC to 2021-03-13 07:42:38 +0000 UTC (now=2020-03-13 08:42:39.460287603 +0000 UTC))
I0313 08:42:43.006932 1 leaderelection.go:352] lock is held by ip-10-0-0-217.us-east-2.compute.internal_d2057a2d-0543-4a7b-bc20-863fef995622 and has not yet expired
I0313 08:42:43.007005 1 leaderelection.go:247] failed to acquire lease kube-system/cloud-controller-manager
I0313 08:42:45.105031 1 leaderelection.go:352] lock is held by ip-10-0-0-217.us-east-2.compute.internal_d2057a2d-0543-4a7b-bc20-863fef995622 and has not yet expired
I0313 08:42:45.105106 1 leaderelection.go:247] failed to acquire lease kube-system/cloud-controller-manager
I0313 08:42:48.237031 1 leaderelection.go:352] lock is held by ip-10-0-0-217.us-east-2.compute.internal_d2057a2d-0543-4a7b-bc20-863fef995622 and has not yet expired
I0313 08:42:48.237062 1 leaderelection.go:247] failed to acquire lease kube-system/cloud-controller-manager
I0313 08:42:51.230061 1 leaderelection.go:352] lock is held by ip-10-0-0-217.us-east-2.compute.internal_d2057a2d-0543-4a7b-bc20-863fef995622 and has not yet expired
I0313 08:42:51.230140 1 leaderelection.go:247] failed to acquire lease kube-system/cloud-controller-manager
I0313 08:42:54.035958 1 leaderelection.go:352] lock is held by ip-10-0-0-217.us-east-2.compute.internal_d2057a2d-0543-4a7b-bc20-863fef995622 and has not yet expired
I0313 08:42:54.035992 1 leaderelection.go:247] failed to acquire lease kube-system/cloud-controller-manager
E0313 08:42:56.772069 1 event.go:319] Could not construct reference to: '&v1.Lease{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.ObjectMeta{Name:"cloud-controller-manager", GenerateName:"", Namespace:"kube-system", SelfLink:"/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/cloud-controller-manager", UID:"343b9a64-c9d1-4298-859e-8b5d2fc69721", ResourceVersion:"248403", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63719666986, loc:(*time.Location)(0x35096e0)}}, DeletionTimestamp:(*v1.Time)(nil), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string(nil), OwnerReferences:[]v1.OwnerReference(nil), Finalizers:[]string(nil), ClusterName:"", ManagedFields:[]v1.ManagedFieldsEntry(nil)}, Spec:v1.LeaseSpec{HolderIdentity:(*string)(nil), LeaseDurationSeconds:(*int32)(nil), AcquireTime:(*v1.MicroTime)(nil), RenewTime:(*v1.MicroTime)(nil), LeaseTransitions:(*int32)(nil)}}' due to: 'no kind is registered for the type v1.Lease in scheme "k8s.io/[email protected]/pkg/runtime/scheme.go:101"'. Will not report event: 'Normal' 'LeaderElection' 'ip-10-0-0-217.us-east-2.compute.internal_9814435f-ec58-489e-9742-8cbda7ce2f18 became leader'
I0313 08:42:56.772186 1 leaderelection.go:252] successfully acquired lease kube-system/cloud-controller-manager
I0313 08:42:56.776159 1 event.go:281] Event(v1.ObjectReference{Kind:"Endpoints", Namespace:"kube-system", Name:"cloud-controller-manager", UID:"338ca850-07b6-4fac-a13d-a43fab193282", APIVersion:"v1", ResourceVersion:"248402", FieldPath:""}): type: 'Normal' reason: 'LeaderElection' ip-10-0-0-217.us-east-2.compute.internal_9814435f-ec58-489e-9742-8cbda7ce2f18 became leader
I0313 08:42:56.777916 1 aws.go:771] Setting up informers for Cloud
I0313 08:42:56.777973 1 controllermanager.go:237] Starting "cloud-node"
I0313 08:42:56.779953 1 node_controller.go:110] Sending events to api server.
I0313 08:42:56.780016 1 controllermanager.go:247] Started "cloud-node"
I0313 08:42:56.780033 1 controllermanager.go:237] Starting "cloud-node-lifecycle"
I0313 08:42:56.781955 1 node_lifecycle_controller.go:77] Sending events to api server
I0313 08:42:56.785298 1 controllermanager.go:247] Started "cloud-node-lifecycle"
I0313 08:42:56.785327 1 controllermanager.go:237] Starting "service"
I0313 08:42:56.787453 1 controllermanager.go:247] Started "service"
I0313 08:42:56.787483 1 controllermanager.go:237] Starting "route"
I0313 08:42:56.787493 1 core.go:101] Will not configure cloud provider routes for allocate-node-cidrs: false, configure-cloud-routes: true.
W0313 08:42:56.787506 1 controllermanager.go:244] Skipping "route"
I0313 08:42:56.787795 1 controller.go:207] Starting service controller
I0313 08:42:56.787815 1 shared_informer.go:197] Waiting for caches to sync for service
I0313 08:42:56.791111 1 log_handler.go:29] AWS request: ec2 DescribeInstances
I0313 08:42:56.794660 1 reflector.go:153] Starting reflector *v1.Service (30s) from k8s.io/[email protected]/tools/cache/reflector.go:108
I0313 08:42:56.794686 1 reflector.go:188] Listing and watching *v1.Service from k8s.io/[email protected]/tools/cache/reflector.go:108
I0313 08:42:56.794892 1 reflector.go:153] Starting reflector *v1.Node (18h12m34.191385441s) from k8s.io/[email protected]/tools/cache/reflector.go:108
I0313 08:42:56.795034 1 reflector.go:188] Listing and watching *v1.Node from k8s.io/[email protected]/tools/cache/reflector.go:108
I0313 08:42:56.804305 1 node_controller.go:312] This node ip-10-0-0-217.us-east-2.compute.internal is registered without the cloud taint. Will not process.
I0313 08:42:56.812999 1 leaderelection.go:283] successfully renewed lease kube-system/cloud-controller-manager
I0313 08:42:56.853245 1 log_handler.go:34] AWS API Send: ec2 DescribeInstances &{DescribeInstances POST / 0xc0009c87d0 <nil>} {
InstanceIds: ["i-07b0eadfbfa7a1af7"]
}
I0313 08:42:56.853287 1 log_handler.go:39] AWS API ValidateResponse: ec2 DescribeInstances &{DescribeInstances POST / 0xc0009c87d0 <nil>} {
InstanceIds: ["i-07b0eadfbfa7a1af7"]
} 200 OK
I0313 08:42:56.855476 1 log_handler.go:29] AWS request: ec2 DescribeInstances
I0313 08:42:56.888099 1 shared_informer.go:227] caches populated
I0313 08:42:56.888129 1 shared_informer.go:204] Caches are synced for service
I0313 08:42:56.907546 1 log_handler.go:34] AWS API Send: ec2 DescribeInstances &{DescribeInstances POST / 0xc0009b0280 <nil>} {
InstanceIds: ["i-07b0eadfbfa7a1af7"]
}
I0313 08:42:56.907607 1 log_handler.go:39] AWS API ValidateResponse: ec2 DescribeInstances &{DescribeInstances POST / 0xc0009b0280 <nil>} {
InstanceIds: ["i-07b0eadfbfa7a1af7"]
} 200 OK
I0313 08:42:58.826488 1 leaderelection.go:283] successfully renewed lease kube-system/cloud-controller-manager
I0313 08:43:00.840086 1 leaderelection.go:283] successfully renewed lease kube-system/cloud-controller-manager
I0313 08:43:02.854028 1 leaderelection.go:283] successfully renewed lease kube-system/cloud-controller-manager
I0313 08:43:04.866878 1 leaderelection.go:283] successfully renewed lease kube-system/cloud-controller-manager
I0313 08:43:06.879703 1 leaderelection.go:283] successfully renewed lease kube-system/cloud-controller-manager
[root@ip-10-0-0-217 ~]# kubectl get nodes ip-10-0-0-217.us-east-2.compute.internal -o go-template --template='{{range .status.addresses}}{{printf "%s: %s \n" .type .address}}{{end}}'
InternalIP: 10.0.0.217
ExternalIP: 18.191.237.94
InternalDNS: ip-10-0-0-217.us-east-2.compute.internal
Hostname: ip-10-0-0-217.us-east-2.compute.internal
ExternalDNS: ec2-18-191-237-94.us-east-2.compute.amazonaws.com
[root@ip-10-0-0-217 ~]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9001 qdisc mq state UP group default qlen 1000
link/ether 02:23:dd:5c:04:f6 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.217/24 brd 10.0.0.255 scope global noprefixroute dynamic eth0
valid_lft 3010sec preferred_lft 3010sec
inet6 **2600:1f16:5e4:b200:d9f2:6cd1:c3fb:41c3**/128 scope global noprefixroute dynamic
valid_lft 397sec preferred_lft 97sec
inet6 fe80::23:ddff:fe5c:4f6/64 scope link noprefixroute
valid_lft forever preferred_lft forever
[root@ip-10-0-0-217 ~]# kubectl get po -A
NAMESPACE NAME READY STATUS RESTARTS AGE
kube-system aws-cloud-controller-manager-qrq5p 1/1 Running 0 44m
kube-system calico-kube-controllers-5b644bc49c-jjxbl 1/1 Running 0 4h5m
kube-system calico-node-cjf25 1/1 Running 0 4h5m
kube-system coredns-6955765f44-6gfv8 1/1 Running 0 29h
kube-system coredns-6955765f44-tnml9 1/1 Running 0 29h
kube-system etcd-ip-10-0-0-217.us-east-2.compute.internal 1/1 Running 0 29h
kube-system kube-apiserver-ip-10-0-0-217.us-east-2.compute.internal 1/1 Running 0 29h
kube-system kube-controller-manager-ip-10-0-0-217.us-east-2.compute.internal 1/1 Running 0 29h
kube-system kube-proxy-cgbbr 1/1 Running 0 29h
kube-system kube-scheduler-ip-10-0-0-217.us-east-2.compute.internal 1/1 Running 0 29h
[root@ip-10-0-0-217 ~]# cat /etc/os-release
NAME="Red Hat Enterprise Linux Server"
VERSION="7.7 (Maipo)"
ID="rhel"
ID_LIKE="fedora"
VARIANT="Server"
VARIANT_ID="server"
VERSION_ID="7.7"
PRETTY_NAME="Red Hat Enterprise Linux Server 7.7 (Maipo)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:redhat:enterprise_linux:7.7:GA:server"
HOME_URL="https://www.redhat.com/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 7"
REDHAT_BUGZILLA_PRODUCT_VERSION=7.7
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="7.7"
[root@ip-10-0-0-217 ~]# uname -a
Linux ip-10-0-0-217.us-east-2.compute.internal 3.10.0-1062.12.1.el7.x86_64 #1 SMP Thu Dec 12 06:44:49 EST 2019 x86_64 x86_64 x86_64 GNU/Linux