1
2
3
4
5
kubectl run service-b --image=datawire/hello-world --port=8000 --expose

kubectl get service service-b
NAME        CLUSTER-IP   EXTERNAL-IP   PORT(S)
AGEservice-b   10.0.0.12    <none>        8000/TCP   1m

https://cloud.tencent.com/developer/article/1537743

自从用上 Telepresence 后,本地调试 Kubernetes 中的微服务不再是梦! https://cloud.tencent.com/developer/article/1537743

https://www.telepresence.io/discussion/how-it-works

https://sshuttle.readthedocs.io/en/stable/usage.html#usage-notes

https://github.com/datawire/sshuttle

k8s自定义controller三部曲之三:编写controller代码

https://blog.csdn.net/boling_cavalry/article/details/88934063?utm_medium=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-BlogCommendFromMachineLearnPai2-1.channel_param

python 类似golang,也是先写对象,然后定义类型。

1
kubectl get pods -n kube-system -o json