README

k8s部署玲珑服务

创建namespace

1
kubectl create ns linglong

在Kubernetes集群如何支持私有镜像

1
2
kubectl create secret docker-registry hub-deepin-token --docker-server=hub.deepin.com \
--docker-username=ut004487 --docker-password=Wujing2988. -n linglong
1
kubectl patch serviceaccount default -n linglong -p '{"imagePullSecrets": [{"name": "hub-deepin-token"}]}'

linglong-homepage

1
docker build -t hub.deepin.com/wuhan_v23_linglong/linglong-homepage:develop-snipe .
1
docker run --rm -it -p 18080:80/tcp hub.deepin.com/wuhan_v23_linglong/linglong-homepage:develop-snipe
1
kubectl create -n linglong deployment linglong-homepage --image=hub.deepin.com/wuhan_v23_linglong/linglong-homepage:develop-snipe