-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
20 changed files
with
347 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<!-- | ||
Copyright (c) 2020 Dell Inc., or its subsidiaries. All Rights Reserved. | ||
Copyright (c) 2021 Dell Inc., or its subsidiaries. All Rights Reserved. | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
|
@@ -20,15 +20,17 @@ For more information about installing and using Helm, see the | |
|
||
## Where to Find Us | ||
|
||
For general discussions, issues or support for Dell Helm Charts contact the team and community on the [mailing lists](mailto:[email protected]?subject=[Dell-Helms-Charts]%20<replace%20me%20with%20more%20specific%20subject>). | ||
For all your support needs or to follow the latest ongoing discussions and updates, join our Slack group. Click [Here](http://del.ly/Slack_request) to request your invite. | ||
|
||
You can also interact with us by creating a [GitHub issue](https://github.com/dell/helm-charts/issues). | ||
|
||
## How to Install | ||
|
||
```console | ||
$ helm repo add dell https://dell.github.io/helm-charts | ||
``` | ||
|
||
Please refer to individual chart documentation for installation. | ||
For documentation, please visit [Container Storage Modules documentation](https://dell.github.io/csm-docs/docs/observability/deployment/helm#configuration). | ||
|
||
## Contributing to an Existing Chart | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,39 @@ | ||
Karavi Topology | ||
The Karavi Topology deployment has been successfully installed. | ||
{{ if .Values.karaviTopology.enabled -}} | ||
|
||
CSM Topology | ||
The CSM Topology deployment has been successfully installed. | ||
|
||
{{ if contains "NodePort" .Values.karaviTopology.service.type -}} | ||
Execute the following commands in your shell to print the URL that can be used to access the Karavi Topology service: | ||
Execute the following commands in your shell to print the URL that can be used to access the CSM Topology service: | ||
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services karavi-topology) | ||
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") | ||
echo https://$NODE_IP:$NODE_PORT | ||
{{ else if contains "ClusterIP" .Values.karaviTopology.service.type }} | ||
The Karavi Topology service can be accessed at the following URL from within the Kubernetes cluster: https://karavi-topology.{{ .Release.Namespace }}.svc.cluster.local | ||
The CSM Topology service can be accessed at the following URL from within the Kubernetes cluster: https://karavi-topology.{{ .Release.Namespace }}.svc.cluster.local | ||
{{- end }} | ||
|
||
{{- end }} | ||
|
||
Karavi Metrics for PowerFlex | ||
{{ if .Values.karaviMetricsPowerflex.enabled -}} | ||
|
||
CSM Metrics for PowerFlex | ||
|
||
The Karavi Metrics for PowerFlex deployment has been successfully installed. | ||
The CSM Metrics for PowerFlex deployment has been successfully installed. | ||
|
||
Provisioner Names: {{ .Values.karaviMetricsPowerflex.provisionerNames }} | ||
Prometheus Scrape Target: | ||
From inside the Kubernetes cluster: otel-collector:8443 | ||
|
||
{{- end }} | ||
|
||
{{ if .Values.karaviMetricsPowerstore.enabled -}} | ||
|
||
CSM Metrics for PowerStore | ||
|
||
The CSM Metrics for PowerStore deployment has been successfully installed. | ||
|
||
Provisioner Names: {{ .Values.karaviMetricsPowerstore.provisionerNames }} | ||
Prometheus Scrape Target: | ||
From inside the Kubernetes cluster: otel-collector:8443 | ||
|
||
{{- end}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
charts/karavi-observability/templates/karavi-metrics-powerstore-service-account.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
{{ if .Values.karaviMetricsPowerstore.enabled }} | ||
|
||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: {{ .Release.Name }}-metrics-powerstore-controller | ||
namespace: {{ .Release.Namespace }} | ||
|
||
--- | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: {{ .Release.Name }}-metrics-powerstore-controller | ||
rules: | ||
- apiGroups: [""] | ||
resources: ["persistentvolumes"] | ||
verbs: ["list"] | ||
- apiGroups: [""] | ||
resources: ["endpoints"] | ||
verbs: ["*"] | ||
|
||
--- | ||
|
||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ .Release.Name }}-metrics-powerstore-controller | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ .Release.Name }}-metrics-powerstore-controller | ||
namespace: {{ .Release.Namespace }} | ||
roleRef: | ||
kind: ClusterRole | ||
name: {{ .Release.Name }}-metrics-powerstore-controller | ||
apiGroup: rbac.authorization.k8s.io | ||
|
||
{{ end }} | ||
|
91 changes: 91 additions & 0 deletions
91
charts/karavi-observability/templates/karavi-metrics-powerstore.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{{ if .Values.karaviMetricsPowerstore.enabled }} | ||
|
||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: karavi_metrics_powerstore | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
name: karavi-metrics-powerstore | ||
spec: | ||
type: {{ .Values.karaviMetricsPowerstore.service.type }} | ||
ports: | ||
- name: karavi-metrics-powerstore | ||
port: 9090 | ||
targetPort: 9090 | ||
selector: | ||
app.kubernetes.io/name: karavi_metrics_powerstore | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
|
||
--- | ||
|
||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: karavi-metrics-powerstore | ||
labels: | ||
app.kubernetes.io/name: karavi_metrics_powerstore | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
spec: | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: karavi_metrics_powerstore | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
replicas: 1 | ||
strategy: {} | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: karavi_metrics_powerstore | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
spec: | ||
serviceAccount: {{ .Release.Name }}-metrics-powerstore-controller | ||
containers: | ||
- name: karavi-metrics-powerstore | ||
image: {{ .Values.karaviMetricsPowerstore.image }} | ||
resources: {} | ||
env: | ||
- name: POWERSTORE_METRICS_ENDPOINT | ||
value: "{{ .Values.karaviMetricsPowerstore.endpoint }}" | ||
- name: POWERSTORE_METRICS_NAMESPACE | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: metadata.namespace | ||
- name: TLS_ENABLED | ||
value: "true" | ||
volumeMounts: | ||
- name: karavi-metrics-powerstore-secret-volume | ||
mountPath: "/certs" | ||
- name: powerstore-config | ||
mountPath: /powerstore-config | ||
- name: tls-secret | ||
mountPath: /etc/ssl/certs | ||
readOnly: true | ||
- name: karavi-metrics-powerstore-configmap | ||
mountPath: /etc/config | ||
volumes: | ||
- name: karavi-metrics-powerstore-secret-volume | ||
secret: | ||
secretName: karavi-metrics-powerstore-tls | ||
items: | ||
- key: tls.crt | ||
path: localhost.crt | ||
- key: tls.key | ||
path: localhost.key | ||
- name: powerstore-config | ||
secret: | ||
secretName: powerstore-config | ||
- name: tls-secret | ||
secret: | ||
secretName: otel-collector-tls | ||
items: | ||
- key: tls.crt | ||
path: cert.crt | ||
- name: karavi-metrics-powerstore-configmap | ||
configMap: | ||
name: karavi-metrics-powerstore-configmap | ||
restartPolicy: Always | ||
status: {} | ||
|
||
{{ end }} | ||
|
Oops, something went wrong.