|
| 1 | +CHART NAME: {{ .Chart.Name }} |
| 2 | +CHART VERSION: {{ .Chart.Version }} |
| 3 | +APP VERSION: {{ .Chart.AppVersion }} |
| 4 | + |
| 5 | +Did you know there are enterprise versions of the Drycc catalog? For enhanced secure software supply chain features, unlimited pulls from Docker, LTS support, or application customization, see Drycc Premium or Tanzu Application Catalog. See https://www.arrow.com/globalecs/na/vendors/drycc for more information. |
| 6 | + |
| 7 | +** Please be patient while the chart is being deployed ** |
| 8 | + |
| 9 | +The following controllers have been deployed: |
| 10 | + |
| 11 | + - vmselect |
| 12 | + - vminsert |
| 13 | + - vmstorage |
| 14 | + {{- if .Values.vmauth.enabled }} |
| 15 | + - vmauth |
| 16 | + {{- end }} |
| 17 | + {{- if .Values.vmagent.enabled }} |
| 18 | + - vmagent |
| 19 | + {{- end }} |
| 20 | + {{- if .Values.vmalert.enabled }} |
| 21 | + - vmalert |
| 22 | + {{- end }} |
| 23 | + |
| 24 | +Check the status of the pods by running this command: |
| 25 | + |
| 26 | + kubectl get pods --namespace {{ include "common.names.namespace" . | quote }} -l app.kubernetes.io/instance={{ .Release.Name }} |
| 27 | + |
| 28 | +{{- if .Values.vmauth.enabled }} |
| 29 | +Your VictoriaMetrics site can be accessed through the following DNS name from within your cluster: |
| 30 | + |
| 31 | + {{ include "victoriametrics.vmauth.fullname" . }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }} (port {{ .Values.vmauth.service.ports.http }}) |
| 32 | + |
| 33 | +To access your VictoriaMetrics site from outside the cluster follow the steps below: |
| 34 | + |
| 35 | +{{- if .Values.vmauth.ingress.enabled }} |
| 36 | + |
| 37 | +Get the VictoriaMetrics URL and associate VictoriaMetrics hostname to your cluster external IP: |
| 38 | + |
| 39 | + export CLUSTER_IP=$(minikube ip) # On Minikube. Use: `kubectl cluster-info` on others K8s clusters |
| 40 | + echo "VictoriaMetrics Select URL: http{{ if .Values.vmauth.ingress.tls }}s{{ end }}://{{ .Values.vmauth.ingress.hostname }}/select" |
| 41 | + echo "VictoriaMetrics Insert URL: http{{ if .Values.vmauth.ingress.tls }}s{{ end }}://{{ .Values.vmauth.ingress.hostname }}/insert" |
| 42 | + echo "$CLUSTER_IP {{ .Values.vmauth.ingress.hostname }}" | sudo tee -a /etc/hosts |
| 43 | + |
| 44 | +{{- else }} |
| 45 | +{{- $port := .Values.vmauth.service.ports.http | toString }} |
| 46 | + |
| 47 | +Get the VictoriaMetrics URL by running these commands: |
| 48 | + |
| 49 | +{{- if contains "NodePort" .Values.vmauth.service.type }} |
| 50 | + |
| 51 | + export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "victoriametrics.vmauth.fullname" . }}) |
| 52 | + export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") |
| 53 | + echo "VictoriaMetrics Select URL: http://$NODE_IP:$NODE_PORT/select" |
| 54 | + echo "VictoriaMetrics Insert URL: http://$NODE_IP:$NODE_PORT/insert" |
| 55 | + |
| 56 | +{{- else if contains "LoadBalancer" .Values.vmauth.service.type }} |
| 57 | + |
| 58 | + NOTE: It may take a few minutes for the LoadBalancer IP to be available. |
| 59 | + Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ include "victoriametrics.vmauth.fullname" . }}' |
| 60 | + |
| 61 | + export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "victoriametrics.vmauth.fullname" . }} --template "{{ "{{ range (index .status.loadBalancer.ingress 0) }}{{ . }}{{ end }}" }}") |
| 62 | + echo "VictoriaMetrics Select URL: http://$SERVICE_IP{{- if ne $port "80" }}:{{ .Values.vmauth.service.ports.http }}{{ end }}/select" |
| 63 | + echo "VictoriaMetrics Insert URL: http://$SERVICE_IP{{- if ne $port "80" }}:{{ .Values.vmauth.service.ports.http }}{{ end }}/select" |
| 64 | + |
| 65 | +{{- else if contains "ClusterIP" .Values.vmauth.service.type }} |
| 66 | + |
| 67 | + kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ include "victoriametrics.vmauth.fullname" . }} {{ .Values.vmauth.service.ports.http }}:{{ .Values.vmauth.service.ports.http }} & |
| 68 | + echo "VictoriaMetrics Select URL: http://127.0.0.1{{- if ne $port "80" }}:{{ .Values.vmauth.service.ports.http }}{{ end }}/select" |
| 69 | + echo "VictoriaMetrics Insert URL: http://127.0.0.1{{- if ne $port "80" }}:{{ .Values.vmauth.service.ports.http }}{{ end }}/insert" |
| 70 | + |
| 71 | +{{- end }} |
| 72 | +{{- end }} |
| 73 | +{{- else }} |
| 74 | + |
| 75 | +Your VictoriaMetrics Select site can be accessed through the following DNS name from within your cluster: |
| 76 | + |
| 77 | + {{ include "victoriametrics.vmselect.fullname" . }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }} (port {{ .Values.vmselect.service.ports.http }}) |
| 78 | + |
| 79 | +To access your VictoriaMetrics site from outside the cluster follow the steps below: |
| 80 | + |
| 81 | +{{- if .Values.vmselect.ingress.enabled }} |
| 82 | + |
| 83 | +Get the VictoriaMetrics URL and associate VictoriaMetrics hostname to your cluster external IP: |
| 84 | + |
| 85 | + export CLUSTER_IP=$(minikube ip) # On Minikube. Use: `kubectl cluster-info` on others K8s clusters |
| 86 | + echo "VictoriaMetrics Select URL: http{{ if .Values.vmselect.ingress.tls }}s{{ end }}://{{ .Values.vmselect.ingress.hostname }}/select" |
| 87 | + echo "$CLUSTER_IP {{ .Values.vmselect.ingress.hostname }}" | sudo tee -a /etc/hosts |
| 88 | + |
| 89 | +{{- else }} |
| 90 | +{{- $port := .Values.vmselect.service.ports.http | toString }} |
| 91 | + |
| 92 | +Get the VictoriaMetrics URL by running these commands: |
| 93 | + |
| 94 | +{{- if contains "NodePort" .Values.vmselect.service.type }} |
| 95 | + |
| 96 | + export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "victoriametrics.vmselect.fullname" . }}) |
| 97 | + export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") |
| 98 | + echo "VictoriaMetrics Select URL: http://$NODE_IP:$NODE_PORT/select" |
| 99 | + |
| 100 | +{{- else if contains "LoadBalancer" .Values.vmselect.service.type }} |
| 101 | + |
| 102 | + NOTE: It may take a few minutes for the LoadBalancer IP to be available. |
| 103 | + Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ include "victoriametrics.vmselect.fullname" . }}' |
| 104 | + |
| 105 | + export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "victoriametrics.vmselect.fullname" . }} --template "{{ "{{ range (index .status.loadBalancer.ingress 0) }}{{ . }}{{ end }}" }}") |
| 106 | + echo "VictoriaMetrics Select URL: http://$SERVICE_IP{{- if ne $port "80" }}:{{ .Values.vmselect.service.ports.http }}{{ end }}/select" |
| 107 | + |
| 108 | +{{- else if contains "ClusterIP" .Values.vmselect.service.type }} |
| 109 | + |
| 110 | + kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ include "victoriametrics.vmselect.fullname" . }} {{ .Values.vmselect.service.ports.http }}:{{ .Values.vmselect.service.ports.http }} & |
| 111 | + echo "VictoriaMetrics Select URL: http://127.0.0.1{{- if ne $port "80" }}:{{ .Values.vmselect.service.ports.http }}{{ end }}/select" |
| 112 | + |
| 113 | +{{- end }} |
| 114 | +{{- end }} |
| 115 | + |
| 116 | +Your VictoriaMetrics Insert site can be accessed through the following DNS name from within your cluster: |
| 117 | + |
| 118 | + {{ include "victoriametrics.vminsert.fullname" . }}.{{ .Release.Namespace }}.svc.{{ .Values.clusterDomain }} (port {{ .Values.vminsert.service.ports.http }}) |
| 119 | + |
| 120 | +To access your VictoriaMetrics site from outside the cluster follow the steps below: |
| 121 | + |
| 122 | +{{- if .Values.vminsert.ingress.enabled }} |
| 123 | + |
| 124 | +Get the VictoriaMetrics URL and associate VictoriaMetrics hostname to your cluster external IP: |
| 125 | + |
| 126 | + export CLUSTER_IP=$(minikube ip) # On Minikube. Use: `kubectl cluster-info` on others K8s clusters |
| 127 | + echo "VictoriaMetrics Insert URL: http{{ if .Values.vminsert.ingress.tls }}s{{ end }}://{{ .Values.vminsert.ingress.hostname }}/insert" |
| 128 | + echo "$CLUSTER_IP {{ .Values.vminsert.ingress.hostname }}" | sudo tee -a /etc/hosts |
| 129 | + |
| 130 | +{{- else }} |
| 131 | +{{- $port := .Values.vminsert.service.ports.http | toString }} |
| 132 | + |
| 133 | +Get the VictoriaMetrics URL by running these commands: |
| 134 | + |
| 135 | +{{- if contains "NodePort" .Values.vminsert.service.type }} |
| 136 | + |
| 137 | + export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "victoriametrics.vminsert.fullname" . }}) |
| 138 | + export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") |
| 139 | + echo "VictoriaMetrics Insert URL: http://$NODE_IP:$NODE_PORT/insert" |
| 140 | + |
| 141 | +{{- else if contains "LoadBalancer" .Values.vminsert.service.type }} |
| 142 | + |
| 143 | + NOTE: It may take a few minutes for the LoadBalancer IP to be available. |
| 144 | + Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ include "victoriametrics.vminsert.fullname" . }}' |
| 145 | + |
| 146 | + export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "victoriametrics.vminsert.fullname" . }} --template "{{ "{{ range (index .status.loadBalancer.ingress 0) }}{{ . }}{{ end }}" }}") |
| 147 | + echo "VictoriaMetrics Insert URL: http://$SERVICE_IP{{- if ne $port "80" }}:{{ .Values.vminsert.service.ports.http }}{{ end }}/insert" |
| 148 | + |
| 149 | +{{- else if contains "ClusterIP" .Values.vminsert.service.type }} |
| 150 | + |
| 151 | + kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ include "victoriametrics.vminsert.fullname" . }} {{ .Values.vminsert.service.ports.http }}:{{ .Values.vminsert.service.ports.http }} & |
| 152 | + echo "VictoriaMetrics Insert URL: http://127.0.0.1{{- if ne $port "80" }}:{{ .Values.vminsert.service.ports.http }}{{ end }}/insert" |
| 153 | + |
| 154 | +{{- end }} |
| 155 | +{{- end }} |
| 156 | + |
| 157 | +{{- end }} |
| 158 | + |
| 159 | +{{- include "common.warnings.rollingTag" .Values.vmselect.image }} |
| 160 | +{{- include "common.warnings.rollingTag" .Values.vminsert.image }} |
| 161 | +{{- include "common.warnings.rollingTag" .Values.vmstorage.image }} |
| 162 | +{{- include "common.warnings.rollingTag" .Values.vmauth.image }} |
| 163 | +{{- include "common.warnings.rollingTag" .Values.vmagent.image }} |
| 164 | +{{- include "common.warnings.rollingTag" .Values.vmalert.image }} |
| 165 | +{{- include "victoriametrics.validateValues" . }} |
| 166 | +{{- include "common.warnings.resources" (dict "sections" (list "vmselect" "vmstorage" "vminsert" "vmauth" "vmagent" "vmalert" "defaultInitContainers.volumePermissions") "context" $) }} |
| 167 | +{{- include "common.warnings.modifiedImages" (dict "images" (list .Values.vmselect.image .Values.vminsert.image .Values.vmstorage.image .Values.vmauth.image .Values.vmagent.image .Values.vmalert.image .Values.defaultInitContainers.volumePermissions.image) "context" $) }} |
| 168 | +{{- include "common.errors.insecureImages" (dict "images" (list .Values.vmselect.image .Values.vminsert.image .Values.vmstorage.image .Values.vmauth.image .Values.vmagent.image .Values.vmalert.image .Values.defaultInitContainers.volumePermissions.image) "context" $) }} |
0 commit comments