Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
qingjie authored Apr 4, 2019
1 parent 3e9cedb commit 9719c03
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,15 @@ kubectl -n kube-system get secret | grep admin-user
kubectl -n kube-system describe secret admin-user-token-<id displayed by previous command>
https://api.test.operr.net/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/storageclass?namespace=default
```

```
cat configmap/reverseproxy.conf
kubectl create configmap nginx-config --from-file=configmap/reverseproxy.conf
kubectl get configmap
kubectl get configmap nginx-config -o yaml
cat configmap/nginx.yml
kubectl create -f configmap/nginx.yml
kubectl create -f configmap/nginx-service.yml
kubectl exec -i -t helloworld-nginx -c nginx -- bash
cat /etc/nginx/conf.d/reverseproxy.conf
```

0 comments on commit 9719c03

Please sign in to comment.