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