k8s部署postgresql(含postgis插件)
生活随笔
收集整理的這篇文章主要介紹了
k8s部署postgresql(含postgis插件)
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
docker pull postgis/postgis
sudo kubectl create deploy postgis --image=postgis/postgis:latest -n dmgeo-lib
sudo kubectl expose deploy postgis -n dmgeo-lib --name=postgis-svc --port=5432 --target-port=5432 --type=NodePort
參考鏈接:
https://github.com/postgis/docker-postgis
https://hub.docker.com/r/postgis/postgis
總結(jié)
以上是生活随笔為你收集整理的k8s部署postgresql(含postgis插件)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: linux修改open files:ul
- 下一篇: golang安装beego报错:go: