archyufa d752079550 [K8s Cluster refresh] K8s v.1.3 Configuration updates
1. default_scripts/kube-apiserver parametres updates:
Replaced: address, ports with insecure-bind-address, insecure-port
Added: service-cluster-ip-range, admission-control, advertise-address
Depricated: portal_net

2. environ/apiserver parametres updates:
Updated: KUBE_API_ADDRESS, KUBE_API_PORTS
Added: KUBE_API_IP
Depricated: KUBE_API_ARGS

3. systemd/kube-apiserver.service parametres updates:
Added: KUBE_API_IP
Update: KUBE_SERVICE_ADDRESSES with KUBE_SERVICE
Depricated: KUBE_API_ARGS

4. default_scripts/kube-controller-manager updates:
Added: New params for KUBE_CONTROLLER_MANAGER_OPTS such as
service-cluster-ip-range, cluster-cidr, cluster-name

5. systemd/kube-controller-manager.service updates:
Added: new argumunets to start up command such as
KUBE_SERVICE, KUBE_NAME, KUBE_CIDR
Removed: KUBE_CONTROLLER_MANAGER_ARGS

6. kube-config updates with new
Added new argumunets to start up command such as
KUBE_SERVICE, KUBE_NAME, KUBE_CIDR

7. scripts/master-kube-setup.sh update:
Set Master IP value for apiserver and kube-apiserver scripts

Change-Id: I808ef5459e5fd5f1f5c916ddd3f94beab05e5c5d
2016-09-19 19:08:45 +03:00

16 lines
647 B
Plaintext

#Kube-Apiserver Upstart and SysVinit configuration file
# Customize kube-apiserver binary location
KUBE_APISERVER="/opt/bin/hyperkube"
# Use KUBE_APISERVER_OPTS to modify the start/restart options
KUBE_APISERVER_OPTS="--insecure-bind-address=0.0.0.0 \
--insecure-port=8080 \
--etcd_servers=http://127.0.0.1:4001 \
--logtostderr=false \
--service-cluster-ip-range=10.32.0.0/24 --log_dir=/var/log/kubernetes \
--allow-privileged=true --advertise-address=%%MASTER_IP%% \
--admission-control=NamespaceLifecycle,NamespaceExists,LimitRanger,SecurityContextDeny,ResourceQuota"
# Add more environment settings used by kube-apiserver here