kops/docs/kops-server
guohaowang 1653f0f22d doc: add doc to help developer to inspect kops-server
```
$ kubectl -n kube-system logs kops-server-9dd887bcf-tfvkw
I0617 09:24:38.935898       1 serving.go:311] Generated self-signed cert (apiserver.local.config/certificates/apiserver.crt, apiserver.local.config/certificates/apiserver.key)
W0617 09:24:40.097484       1 start.go:133] Authentication/Authorization disabled
I0617 09:24:40.099018       1 plugins.go:158] Loaded 2 mutating admission controller(s) successfully in the following order: NamespaceLifecycle,MutatingAdmissionWebhook.
I0617 09:24:40.099034       1 plugins.go:161] Loaded 1 validating admission controller(s) successfully in the following order: ValidatingAdmissionWebhook.
W0617 09:24:40.139797       1 genericapiserver.go:338] Skipping API kops.k8s.io/v1alpha1 because it has no resources.
I0617 09:24:40.257371       1 secure_serving.go:116] Serving securely on [::]:443
```

and test get

```
$ curl -k https://172.20.42.164/swagger.json
{
  "swagger": "2.0",
  "info": {
   "title": "Kops API",
   "version": "0.1"
     ....
```

Signed-off-by: guohaowang <wangguohao.2009@gmail.com>
2019-06-21 10:55:58 +08:00
..
README.md doc: add doc to help developer to inspect kops-server 2019-06-21 10:55:58 +08:00
kops-server.yaml doc: add doc to help developer to inspect kops-server 2019-06-21 10:55:58 +08:00

README.md

Kops HTTP API Server

Building the kops API server

Set your docker registry

cd $GOPATH/src/k8s.io/kops
export DOCKER_REGISTRY=$registry

Build the kops API server container, and push the image up to your registry.

make kops-server-push

Deploying the kops API server to a cluster

Choose one of the following methods (only for develop)

  • the method one: apply the file
kubectl apply -f docs/kops-server/kops-server.yaml
  • From the keops directory run the following helm command. More information on helm can be found here
helm install charts/kops --namespace kops