{"action":"closed","issue":{"url":"https://api.github.com/repos/projectatomic/adb-atomic-developer-bundle/issues/318","repository_url":"https://api.github.com/repos/projectatomic/adb-atomic-developer-bundle","labels_url":"https://api.github.com/repos/projectatomic/adb-atomic-developer-bundle/issues/318/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/adb-atomic-developer-bundle/issues/318/comments","events_url":"https://api.github.com/repos/projectatomic/adb-atomic-developer-bundle/issues/318/events","html_url":"https://github.com/projectatomic/adb-atomic-developer-bundle/issues/318","id":145885035,"number":318,"title":"Re-examine kube-apiserver service file to be part of kickstart","user":{"login":"praveenkumar","id":410007,"avatar_url":"https://avatars.githubusercontent.com/u/410007?v=3","gravatar_id":"","url":"https://api.github.com/users/praveenkumar","html_url":"https://github.com/praveenkumar","followers_url":"https://api.github.com/users/praveenkumar/followers","following_url":"https://api.github.com/users/praveenkumar/following{/other_user}","gists_url":"https://api.github.com/users/praveenkumar/gists{/gist_id}","starred_url":"https://api.github.com/users/praveenkumar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/praveenkumar/subscriptions","organizations_url":"https://api.github.com/users/praveenkumar/orgs","repos_url":"https://api.github.com/users/praveenkumar/repos","events_url":"https://api.github.com/users/praveenkumar/events{/privacy}","received_events_url":"https://api.github.com/users/praveenkumar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/projectatomic/adb-atomic-developer-bundle/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/projectatomic/adb-atomic-developer-bundle/labels/focus:devex","name":"focus:devex","color":"c7def8"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-05T04:38:39Z","updated_at":"2016-04-18T05:53:04Z","closed_at":"2016-04-18T05:53:04Z","body":"Currently we have https://github.com/projectatomic/adb-atomic-developer-bundle/blob/master/build_tools/kickstarts/centos-7-adb-vagrant.ks#L73-L100 as part of kickstart file and with current available version of kube rpm we really don't require it any more.\r\n\r\n```\r\n#  rpm -qa | grep kube\r\nkubernetes-master-1.2.0-0.6.alpha1.git8632732.el7.x86_64\r\nkubernetes-client-1.2.0-0.6.alpha1.git8632732.el7.x86_64\r\nkubernetes-node-1.2.0-0.6.alpha1.git8632732.el7.x86_64\r\nkubernetes-1.2.0-0.6.alpha1.git8632732.el7.x86_64\r\n\r\n\r\n# rpm -lq kubernetes-master | grep service\r\n/usr/lib/systemd/system/kube-apiserver.service\r\n/usr/lib/systemd/system/kube-controller-manager.service\r\n/usr/lib/systemd/system/kube-scheduler.service\r\n\r\n\r\nService file which is part of stock rpm now\r\n\r\n$ cat /usr/lib/systemd/system/kube-apiserver.service\r\n[Unit]\r\nDescription=Kubernetes API Server\r\nDocumentation=https://github.com/GoogleCloudPlatform/kubernetes\r\nAfter=network.target\r\nAfter=etcd.service\r\n\r\n[Service]\r\nEnvironmentFile=-/etc/kubernetes/config\r\nEnvironmentFile=-/etc/kubernetes/apiserver\r\nUser=kube\r\nExecStart=/usr/bin/kube-apiserver \\\r\n        $KUBE_LOGTOSTDERR \\\r\n        $KUBE_LOG_LEVEL \\\r\n        $KUBE_ETCD_SERVERS \\\r\n        $KUBE_API_ADDRESS \\\r\n        $KUBE_API_PORT \\\r\n        $KUBELET_PORT \\\r\n        $KUBE_ALLOW_PRIV \\\r\n        $KUBE_SERVICE_ADDRESSES \\\r\n        $KUBE_ADMISSION_CONTROL \\\r\n        $KUBE_API_ARGS\r\nRestart=on-failure\r\nType=notify\r\nLimitNOFILE=65536\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n\r\n\r\nService  file which we include in kickstart\r\n\r\n$ cat /etc/systemd/system/kube-apiserver.service\r\n[Unit]\r\nDescription=Kubernetes API Server\r\nDocumentation=https://github.com/GoogleCloudPlatform/kubernetes\r\nAfter=network.target\r\n\r\n[Service]\r\nEnvironmentFile=-/etc/kubernetes/config\r\nEnvironmentFile=-/etc/kubernetes/apiserver\r\nUser=kube\r\nExecStart=/usr/bin/kube-apiserver \\\r\n            $KUBE_LOGTOSTDERR \\\r\n            $KUBE_LOG_LEVEL \\\r\n            $KUBE_ETCD_SERVERS \\\r\n            $KUBE_API_ADDRESS \\\r\n            $KUBE_API_PORT \\\r\n            $KUBELET_PORT \\\r\n            $KUBE_ALLOW_PRIV \\\r\n            $KUBE_SERVICE_ADDRESSES \\\r\n            $KUBE_ADMISSION_CONTROL \\\r\n            $KUBE_API_ARGS\r\nRestart=on-failure\r\nLimitNOFILE=65536\r\n\r\n[Install]\r\nWantedBy=multi-user.target\r\n```"}}