-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelm_install_notes
More file actions
34 lines (18 loc) · 807 Bytes
/
helm_install_notes
File metadata and controls
34 lines (18 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
helm init
helm serve &
make
helm install --name=nfs-provisioner ./nfs-provisioner --namespace=openstack
helm delete nfs-provisioner --purge
helm delete postgresql --purge
helm install --name=postgresql ./postgresql --namespace=openstack --set storage.pvc.enabled=false
kubectl get pods --namespace openstack
kubectl create -f ./postgres_svc.yaml --namespace openstack
telnet 192.168.99.100 31000
psql -U postgresql-admin -d postgres
psql -U postgres -W -d postgresql -h 192.168.99.100 -p 31000
192.168.99.100 31000
postgresql://postgres:password@192.168.99.100:31000/retail_store
helm install --name=rstore ./rstore --namespace=openstack --dry-run --debug > rstore.yaml
helm del --purge rstore
# To connect to a container through kubectl
kubectl run -i -t test --image=postgres:9.5 /bin/bash