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