File tree Expand file tree Collapse file tree 2 files changed +13
-6
lines changed
Expand file tree Collapse file tree 2 files changed +13
-6
lines changed Original file line number Diff line number Diff line change 22 "kind" : " Service" ,
33 "apiVersion" : " v1" ,
44 "metadata" : {
5- "name" : " postgres-operator" ,
5+ "name" : " postgres-operator" ,
6+ "annotations" : {
7+ "cloud.google.com/load-balancer-type" : " Internal"
8+ },
69 "labels" : {
710 "name" : " postgres-operator"
811 }
1215 "name" : " apiserver" ,
1316 "protocol" : " TCP" ,
1417 "port" : 8443 ,
15- "targetPort" : 8443 ,
16- "nodePort" : 0
18+ "targetPort" : 8443
1719 }],
1820 "selector" : {
1921 "name" : " postgres-operator"
2022 },
21- "type" : " ClusterIP " ,
23+ "type" : " LoadBalancer " ,
2224 "sessionAffinity" : " None"
2325 }
2426}
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export CO_VERSION=2.4
4646export CO_IMAGE_TAG=$CO_BASEOS-$CO_VERSION
4747export CO_NAMESPACE=demo
4848export CO_CMD=kubectl
49- export CO_APISERVER_URL=https://postgres-operator :8443
49+ export CO_APISERVER_URL=https://127.0.0.1 :8443
5050export PGO_CA_CERT=$COROOT/conf/apiserver/server.crt
5151export PGO_CLIENT_CERT=$COROOT/conf/apiserver/server.crt
5252export PGO_CLIENT_KEY=$COROOT/conf/apiserver/server.key
@@ -131,4 +131,9 @@ echo "for pgo bash completion you will need to install the bash-completion packa
131131
132132mv $HOME /pgo-bash-completion $HOME /.bash_completion
133133
134- echo " install complete, try 'pgo version' command"
134+ echo " install complete"
135+
136+ echo " At this point you can access the operator by using a port-forward command similar to:"
137+ echo " kubectl port-forward postgres-operator-3590887357-7h5ht 8443:8443"
138+ echo " do this in another terminal or run in the background"
139+
You can’t perform that action at this time.
0 commit comments