Before running bmc-reverse-proxy, create ConfigMap using machines-endpoints.
Please read README.md at machines-endpoints directory and apply a yaml file like bellow.
kubectl apply -f machines-endpoints.yaml
Once ConfigMap has been created, stop machines-endpoints and modify the ConfigMap to point a service which listens on TCP 443, e.g. teleport-proxy.
This is because the current BMC implementation of placemat does not provide Web interfaces.
kubectl get configmaps bmc-reverse-proxy
(wait for success)
kubectl delete cronjobs machines-endpoints-cronjob
kubectl get -n teleport teleport-proxy
(check CLUSTER-IP)
kubectl edit configmaps bmc-reverse-proxy
(add a line of "teleport: <CLUSTER-IP>" in "data")
Deploy bmc-reverse proxy.
kubectl apply -f bmc-reverse-proxy.yaml
Check that you can access BMC via proxy.
kubectl get services bmc-reverse-proxy
(check EXTERNAL-IP of proxy)
sudo vi /etc/hosts
(add a line of "<EXTERNAL-IP> teleport.bmc.gcp0.dev-ne.co")
curl -k https://teleport.bmc.gcp0.dev-ne.co