Skip to content

Instantly share code, notes, and snippets.

@zyriuse75
Created February 11, 2019 10:12
Show Gist options
  • Save zyriuse75/9352b9f15b8b7fa3e0cf06ce60bab6f7 to your computer and use it in GitHub Desktop.
Save zyriuse75/9352b9f15b8b7fa3e0cf06ce60bab6f7 to your computer and use it in GitHub Desktop.
[k8sd01@gvp99 pki]$ kubectl -n kube-system get cm kubeadm-config -o yaml
apiVersion: v1
data:
MasterConfiguration: |
api:
advertiseAddress: 10.109.xx.xxx
bindPort: 6443
controlPlaneEndpoint: ""
auditPolicy:
logDir: /var/log/kubernetes/audit
logMaxAge: 2
path: ""
authorizationModes:
- Node
- RBAC
certificatesDir: /etc/kubernetes/pki
cloudProvider: ""
criSocket: /var/run/dockershim.sock
etcd:
caFile: ""
certFile: ""
dataDir: /var/lib/etcd
endpoints: null
image: ""
keyFile: ""
imageRepository: k8s.gcr.io
kubeProxy:
config:
bindAddress: 0.0.0.0
clientConnection:
acceptContentTypes: ""
burst: 10
contentType: application/vnd.kubernetes.protobuf
kubeconfig: /var/lib/kube-proxy/kubeconfig.conf
qps: 5
clusterCIDR: 192.3.0.0/24
configSyncPeriod: 15m0s
conntrack:
max: null
maxPerCore: 32768
min: 131072
tcpCloseWaitTimeout: 1h0m0s
tcpEstablishedTimeout: 24h0m0s
enableProfiling: false
healthzBindAddress: 0.0.0.0:10256
hostnameOverride: ""
iptables:
masqueradeAll: false
masqueradeBit: 14
minSyncPeriod: 0s
syncPeriod: 30s
ipvs:
minSyncPeriod: 0s
scheduler: ""
syncPeriod: 30s
metricsBindAddress: 127.0.0.1:10249
mode: ""
nodePortAddresses: null
oomScoreAdj: -999
portRange: ""
resourceContainer: /kube-proxy
udpIdleTimeout: 250ms
kubeletConfiguration: {}
kubernetesVersion: v1.10.4
networking:
dnsDomain: cluster.local
podSubnet: 192.3.0.0/24
serviceSubnet: 192.2.0.0/24
nodeName: chgvascldp99
privilegedPods: false
token: ""
tokenGroups:
- system:bootstrappers:kubeadm:default-node-token
tokenTTL: 24h0m0s
tokenUsages:
- signing
- authentication
unifiedControlPlaneImage: ""
kind: ConfigMap
metadata:
creationTimestamp: "2018-06-20T14:11:01Z"
name: kubeadm-config
namespace: kube-system
resourceVersion: "163"
selfLink: /api/v1/namespaces/kube-system/configmaps/kubeadm-config
uid: c3441ac8-7493-11e8-8e32-ecebb85d6c18
[k8sd01@gvp99 pki]$ kubeadm token list
TOKEN TTL EXPIRES USAGES DESCRIPTION EXTRA GROUPS
3j9fzw.h7jxrseyrvm04s7v <forever> <never> authentication,signing <none> system:bootstrappers:kubeadm:default-node-token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment