-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADD] new version, hpa support and readinessProbe
- Loading branch information
Showing
9 changed files
with
146 additions
and
157 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,9 +6,9 @@ description: A document conversion service (.odt to .pdf for reports) | |
|
||
type: application | ||
|
||
version: 0.1.2 | ||
version: 0.1.3 | ||
|
||
appVersion: "1.16.0" | ||
appVersion: "9.1" | ||
|
||
home: "https://github.com/adhoc-dev/helm-charts" | ||
sources: | ||
|
@@ -18,5 +18,7 @@ maintainers: | |
email: [email protected] | ||
- name: jjscarafia | ||
email: [email protected] | ||
- name: azacchino | ||
email: [email protected] | ||
|
||
icon: "https://github.com/adhoc-dev/helm-charts/raw/master/img/aerooIcon.png" |
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,9 +1,98 @@ | ||
questions: | ||
|
||
# NodeTag - Affinity | ||
- variable: image.tag | ||
label: "Image Tag" | ||
type: "string" | ||
required: true | ||
default: "latest" | ||
group: "Common" | ||
|
||
- variable: replicaCount | ||
group: "Deploy" | ||
label: "Replica Count" | ||
description: "Scale (number of replicas)" | ||
type: "int" | ||
required: true | ||
default: "1" | ||
- variable: autoscaling.enabled | ||
group: "Deploy" | ||
label: "Enable Autoscaling" | ||
description: "Scale (number of replicas)" | ||
type: "boolean" | ||
default: false | ||
required: false | ||
- variable: autoscaling.minReplicas | ||
group: "Deploy" | ||
label: "autoscaling min" | ||
description: "Scale (minimum number of replicas)" | ||
type: "int" | ||
required: false | ||
default: "1" | ||
- variable: autoscaling.maxReplicas | ||
group: "Deploy" | ||
label: "autoscaling max" | ||
description: "Scale (maximum number of replicas)" | ||
type: "int" | ||
required: false | ||
default: "3" | ||
- variable: autoscaling.targetMemoryUtilizationPercentage | ||
group: "Deploy" | ||
label: "Memory Utilization Percentage" | ||
description: "target % of requested memory" | ||
type: "int" | ||
required: false | ||
default: "85" | ||
|
||
# Pods limits and requests | ||
- variable: resources.requestsEnabled | ||
group: "Resources" | ||
label: "Enable requests" | ||
description: "Enable requests" | ||
type: "boolean" | ||
default: false | ||
required: false | ||
- variable: resources.requests.cpu | ||
group: "Resources" | ||
label: "Pods CPU Request" | ||
description: "Pods CPU Request" | ||
type: "string" | ||
required: true | ||
default: "50m" | ||
- variable: resources.requests.memory | ||
group: "Resources" | ||
label: "Pods Memory Request" | ||
description: "Pods Memory Request" | ||
type: "string" | ||
required: true | ||
default: "512Mi" | ||
|
||
- variable: resources.limitsEnabled | ||
group: "Resources" | ||
label: "Enable limits" | ||
description: "Enable limits" | ||
type: "boolean" | ||
default: false | ||
required: false | ||
- variable: resources.limits.cpu | ||
group: "Resources" | ||
label: "Pods CPU Limit" | ||
description: "Pods CPU Limit" | ||
type: "string" | ||
required: true | ||
default: "1000m" | ||
- variable: resources.limits.memory | ||
group: "Resources" | ||
label: "Pods Memory Limit" | ||
description: "Pods Memory Limit" | ||
type: "string" | ||
required: true | ||
default: "2Gi" | ||
|
||
# NodeTag - Affinity | ||
- variable: nodeTag | ||
label: "Node tag for node affinity" | ||
description: "Tag to schedule pods in nodes" | ||
type: "string" | ||
required: true | ||
default: "Prod" | ||
group: "Deploy" |
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,22 +0,0 @@ | ||
1. Get the application URL by running these commands: | ||
{{- if .Values.ingress.enabled }} | ||
{{- range $host := .Values.ingress.hosts }} | ||
{{- range .paths }} | ||
http{{ if $.Values.ingress.tls }}s{{ end }}://{{ $host.host }}{{ .path }} | ||
{{- end }} | ||
{{- end }} | ||
{{- else if contains "NodePort" .Values.service.type }} | ||
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ include "adhoc-aeroo.fullname" . }}) | ||
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}") | ||
echo http://$NODE_IP:$NODE_PORT | ||
{{- else if contains "LoadBalancer" .Values.service.type }} | ||
NOTE: It may take a few minutes for the LoadBalancer IP to be available. | ||
You can watch the status of by running 'kubectl get --namespace {{ .Release.Namespace }} svc -w {{ include "adhoc-aeroo.fullname" . }}' | ||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ include "adhoc-aeroo.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}") | ||
echo http://$SERVICE_IP:{{ .Values.service.port }} | ||
{{- else if contains "ClusterIP" .Values.service.type }} | ||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app.kubernetes.io/name={{ include "adhoc-aeroo.name" . }},app.kubernetes.io/instance={{ .Release.Name }}" -o jsonpath="{.items[0].metadata.name}") | ||
export CONTAINER_PORT=$(kubectl get pod --namespace {{ .Release.Namespace }} $POD_NAME -o jsonpath="{.spec.containers[0].ports[0].containerPort}") | ||
echo "Visit http://127.0.0.1:8080 to use your application" | ||
kubectl --namespace {{ .Release.Namespace }} port-forward $POD_NAME 8080:$CONTAINER_PORT | ||
{{- 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 was deleted.
Oops, something went wrong.
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
15 changes: 0 additions & 15 deletions
15
charts/adhoc-aeroo-docs/v0.1.3/templates/tests/test-connection.yaml
This file was deleted.
Oops, something went wrong.
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