@@ -83,14 +83,7 @@ juju relate $APPLICATION_NAME postgresql-k8s
83
83
juju status --watch=5s
84
84
` ` `
85
85
86
- 7. Test the application using the unit IP address
87
-
88
- ` ` ` bash
89
- UNIT_IP=< your application unit IP>
90
- curl http://$UNIT_IP :8000/health
91
- ` ` `
92
-
93
- 8. Deploy nginx-ingress-integrator charm
86
+ 7. Deploy nginx-ingress-integrator charm
94
87
95
88
` ` ` bash
96
89
export SERVICE_HOSTNAME=" $MODEL_NAME .ubuntu.lan"
@@ -99,7 +92,7 @@ juju deploy nginx-ingress-integrator --trust \
99
92
--config service-hostname=$SERVICE_HOSTNAME
100
93
` ` `
101
94
102
- 9 . Relate the application application to nginx-ingress-integrator
95
+ 8 . Relate the application application to nginx-ingress-integrator
103
96
104
97
` ` ` bash
105
98
juju relate $APPLICATION_NAME nginx-ingress-integrator
@@ -111,19 +104,19 @@ juju relate $APPLICATION_NAME nginx-ingress-integrator
111
104
juju status --relations --watch 5s
112
105
` ` `
113
106
114
- 10 . Store your secret
107
+ 9 . Store your secret
115
108
116
109
` ` ` bash
117
110
curl -X POST http://$SERVICE_HOSTNAME /keys/ -H " Content-Type: application/json" --data ' {"value": "I like mint flavored ice-cream and pizza with pineapples"}' -Lkv
118
111
` ` `
119
112
120
- 11 . Retrieve your secret
113
+ 10 . Retrieve your secret
121
114
122
115
` ` ` bash
123
116
curl http://$SERVICE_HOSTNAME /keys/< key-id>
124
117
` ` `
125
118
126
- 12 . (AMD64 only) Relate Canonical Observability Stack (COS)
119
+ 11 . (AMD64 only) Relate Canonical Observability Stack (COS)
127
120
128
121
` ` ` bash
129
122
juju relate $APPLICATION_NAME prometheus
@@ -132,7 +125,7 @@ juju relate $APPLICATION_NAME grafana
132
125
juju status --watch=5s
133
126
` ` `
134
127
135
- 13 . Visit the Grafana URL (link & credentials in spreadsheet)
128
+ 12 . Visit the Grafana URL (link & credentials in spreadsheet)
136
129
137
130
# # Further information
138
131
0 commit comments