You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,13 @@
2
2
3
3
All changes to the log analytics integration will be documented in this file.
4
4
5
+
## [1.0.11] - August 27, 2024
6
+
7
+
* Update kubernetes services and service moniotors definitions to align with new metrics API changes in Artifactory and Xray
8
+
* Update Grafana dashboards to reflect the above changes
9
+
* Update Reamde with 2-phased Helm deployments - first to deploy product and generate kubernetes secret; second to deploy additional kubernetes resources with the generated secret
10
+
* Remove JFrog platform charts (alignment with the other observability integrations)
11
+
5
12
## [1.0.10] - August 8, 2024
6
13
7
14
* Fix metrics configuration due to deprication of `artifactory.openMetrics` as part of Artifactory 7.87.x charts and renaming it to `artifactory.metrics`
## Artifactory / Artifactory HA + Metrics via Helm ⎈
131
129
132
-
Ensure Jfrog repo is added to helm.
130
+
Before starting Artifactory or Artifactory HA installtion generate join and master keys for the installation:
133
131
134
132
```bash
135
-
helm repo add jfrog https://charts.jfrog.io
136
-
helm repo update
133
+
export JOIN_KEY=$(openssl rand -hex 32)
134
+
export MASTER_KEY=$(openssl rand -hex 32)
137
135
```
138
136
139
-
To configure and install JFrog Platform with Prometheus metrics being exposed use our file `helm/jfrog-platform-values.yaml` to expose a metrics and new service monitor to Prometheus.
137
+
Then helm install the Artifactory or Artifactory HA charts:
138
+
139
+
Artifactory ⎈:
140
140
141
-
JFrog Platform ⎈:
141
+
1. helm install `artifactory` chart (using the above generated join and master keys).
**If you are installing in the same cluster with the deprecated solution, Use the same namespace as the previous one instead of jfrog-plg above.**
150
+
**If you are installing in the same cluster with the deprecated solution, use the same namespace as the previous one instead of jfrog-plg above.**
150
151
151
-
## Artifactory / Artifactory HA + Metrics via Helm ⎈
152
+
:bulb: Metrics collection is disabled by default in Artifactory. Please make sure that you are enabling them in Artifactory by setting `artifactory.metrics.enabled` to `true` in your [helm values file](helm/artifactory-values.yaml). For Artifactory versions <=7.86.x, please instead set the flag `artifactory.openMetrics.enabled` to `true
152
153
153
-
For configuring and installing Artifactory Pro/Pro-x use the `artifactory-values.yaml` file.
154
+
2. Follow the instructions how to get your new Artifactory URL from the helm install output
154
155
155
-
For configuring and installing Enterprise/Ent+ use the `artifactory-ha-values.yaml` file.
156
+
```bash
157
+
export SERVICE_IP=$(kubectl get svc --namespace $INST_NAMESPACE artifactory-artifactory-nginx -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
158
+
echo http://$SERVICE_IP/
159
+
```
156
160
157
-
Before starting Artifactory or Artifactory HA installtion generate join and master keys for the installation:
161
+
3. Using the Artifactory UI generate JFrog's admin [Access Token](https://jfrog.com/help/r/how-to-generate-an-access-token-video/artifactory-creating-access-tokens-in-artifactory). Using that fetched token, create a kubernetes generic secret for JFrog's admin token - using any of the following methods
**💡Note: You need to be at the root of this repository folder to have `helm/artifactory-values.yaml` file available for the following command**
171
190
191
+
This will complete the necessary configuration for Artifactory and expose new service monitors `servicemonitor-artifactory` and `servicemonitor-observability` to expose metrics to Prometheus
192
+
193
+
Artifactory-HA ⎈:
194
+
195
+
1. helm install `artifactory-ha` chart (using the above generated join and master keys).
**If you are installing in the same cluster with the deprecated solution, use the same namespace as the previous one instead of jfrog-plg above.**
181
205
182
-
:bulb: Metrics collection is disabled by default in Artifactory. Please make sure that you are enabling them in Artifactory by setting `artifactory.metrics.enabled` to `true` in your [helm values file](helm/artifactory-values.yaml). For Artifactory versions <=7.86.x, please instead set the flag `artifactory.openMetrics.enabled` to `true`
206
+
:bulb: Metrics collection is disabled by default in Artifactory-HA. Please make sure that you are enabling them in Artifactory-HA by setting `artifactory.metrics.enabled` to `true` in your [helm values file](helm/artifactory-ha-values.yaml). For Artifactory versions <=7.86.x, please instead set the flag `artifactory.openMetrics.enabled` to `true
183
207
184
-
Artifactory-HA ⎈:
208
+
2. Follow the instructions how to get your new Artifactory URL from the helm install output
185
209
186
-
helm install `artifactory-ha` chart (using the above generated join and master keys).
210
+
```bash
211
+
export SERVICE_IP=$(kubectl get svc --namespace $INST_NAMESPACE artifactory-artifactory-nginx -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
212
+
echo http://$SERVICE_IP/
213
+
```
187
214
188
-
**💡Note: You need to be at the root of this repository folder to have `helm/artifactory-ha-values.yaml` file available for the following command**
215
+
3. Using the Artifactory UI generate JFrog's admin [Access Token](https://jfrog.com/help/r/how-to-generate-an-access-token-video/artifactory-creating-access-tokens-in-artifactory). Using that fetched token, create a kubernetes generic secret for JFrog's admin token - using any of the following methods
**💡Note: If you are installing in the same cluster with the deprecated solution, Use the same namespace as the previous one instead of jfrog-plg above.**
:bulb: Metrics collection is disabled by default in Artifactory-HA. Please make sure that you are enabling them in Artifactory by setting `artifactory.metrics.enabled` to `true` in your [helm values file](helm/artifactory-ha-values.yaml). For Artifactory versions <=7.86.x, please instead set the flag `artifactory.openMetrics.enabled` to `true`
228
+
4. Postgres password is required to upgrade Artifactory. Run the following command to get the current Postgres password
229
+
230
+
```bash
231
+
POSTGRES_PASSWORD=$(kubectl get secret artifactory-postgresql -o jsonpath="{.data.postgresql-password}"| base64 --decode)
232
+
```
233
+
5. Upgrade Artifactory and helm upgrade the `artifactory-ha` chart to create additional kubernetes resources, which are required for Prometheus service discovery process:
234
+
235
+
You need to be at the root of this repository folder to have `helm/artifactory-ha-values.yaml` file available for the following command:
Note the above examples are only references you will need additional parameters to configure TLS, binary blob storage, or other common Artifactory features.
245
+
**💡Note: The above examples are only references you will need additional parameters to configure TLS, binary blob storage, or other common Artifactory features.**
203
246
204
-
This will complete the necessary configuration for Artifactory and expose a new service monitor`servicemonitor-artifactory`to expose metrics to Prometheus.
247
+
This will complete the necessary configuration for Artifactory-HA and expose new service monitors`servicemonitor-artifactory-ha` and `servicemonitor-observability`to expose metrics to Prometheus
205
248
206
249
## Xray + Metrics via Helm ⎈
207
250
@@ -215,16 +258,16 @@ Generate master keys for the Xray installation:
215
258
export XRAY_MASTER_KEY=$(openssl rand -hex 32)
216
259
````
217
260
218
-
Use the same `JOIN_KEY` from the Artifactory installation, in order to connect Xray to Artifactory.
261
+
Use the same `JOIN_KEY` from the Artifactory installation, in order to connect Xray to Artifactory. You'll also be using the `jfrog-admin-token` kubernetes secret, that was created early as part of Artifactory/Artifactory-HA installation
219
262
220
263
**💡Note: You need to be at the root of this repository folder to have `helm/xray-values.yaml` file available for the following command**
221
264
222
265
```bash
223
266
# getting Artifactory URL
224
-
exportRT_SERVICE_IP=$(kubectl get svc -n $INST_NAMESPACE artifactory-artifactory-nginx -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
267
+
exportJFROG_JPD=$(kubectl get svc -n $INST_NAMESPACE artifactory-artifactory-nginx -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
0 commit comments