-
Notifications
You must be signed in to change notification settings - Fork 733
Closed
Labels
help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.lifecycle/activeIndicates that an issue or PR is actively being worked on by a contributor.Indicates that an issue or PR is actively being worked on by a contributor.
Description
/bug
[root@host-10-10-10-33 ~]# cat /tmp/kubeadm-config.yml
apiVersion: kubeadm.k8s.io/v1alpha3
kind: ClusterConfiguration
kubernetesVersion: v1.12.2
apiServerCertSANs:
\- "10.10.10.33"
controlPlaneEndpoint: "10.10.10.33:6443"
etcd:
local:
extraArgs:
listen-client-urls: "https://127.0.0.1:2379,https://10.10.10.33:2379"
advertise-client-urls: "https://10.10.10.33:2379"
listen-peer-urls: "https://10.10.10.33:2380"
initial-advertise-peer-urls: "https://10.10.10.33:2380"
initial-cluster: >-
"
host-10-10-10-33.openstacklocal=https://10.10.10.33:2380
"
serverCertSANs:
- "host-10-10-10-33.openstacklocal"
- "10.10.10.33"
peerCertSANs:
- "host-10-10-10-33.openstacklocal"
- "10.10.10.33"
networking:
\# This CIDR is a Calico default. Substitute or remove for your CNI provider.
podSubnet: "192.168.0.0/16"
imageRepository: apphub.zte.com.cn/itp/kubernetes
unifiedControlPlaneImage: ""
---
apiVersion: kubelet.config.k8s.io/v1beta1
kind: KubeletConfiguration
failSwapOn: false
[root@host-10-10-10-33 ~]# kubeadm init --config=/tmp/kubeadm-config.yml
[init] using Kubernetes version: v1.12.2
[preflight] running pre-flight checks
[preflight] Some fatal errors occurred:
[ERROR Swap]: running with swap on is not supported. Please disable swap
[preflight] If you know what you are doing, you can make a check non-fatal with--ignore-preflight-errors=...
Metadata
Metadata
Assignees
Labels
help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.Categorizes issue or PR as related to a new feature.lifecycle/activeIndicates that an issue or PR is actively being worked on by a contributor.Indicates that an issue or PR is actively being worked on by a contributor.