forked from komljen/helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add hpa operator and metrics server charts
- Loading branch information
Showing
28 changed files
with
539 additions
and
13 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
Binary file not shown.
Binary file not shown.
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 |
---|---|---|
|
@@ -3,7 +3,7 @@ entries: | |
descheduler: | ||
- apiVersion: v1 | ||
appVersion: v0.6.0 | ||
created: 2018-09-12T15:45:03.41716471+02:00 | ||
created: 2018-09-30T16:35:22.592860799+02:00 | ||
description: A Helm chart for Kubernetes Descheduler | ||
digest: 9eddad77998b3d4632375bfb0b9a133bde4e4a47beaf57422aee4cba4db0d73d | ||
name: descheduler | ||
|
@@ -12,7 +12,7 @@ entries: | |
version: 0.2.0 | ||
- apiVersion: v1 | ||
appVersion: v0.5.0-4-ga7ceb671 | ||
created: 2018-09-12T15:45:03.416727347+02:00 | ||
created: 2018-09-30T16:35:22.592594243+02:00 | ||
description: A Helm chart for Kubernetes Descheduler | ||
digest: 32ca0684f33dbfe61f265537e3c87d04c43e7ac9aafeb77f44397cbaa32f6bae | ||
name: descheduler | ||
|
@@ -22,17 +22,17 @@ entries: | |
efk: | ||
- apiVersion: v1 | ||
appVersion: "1.0" | ||
created: 2018-09-12T15:45:03.41927062+02:00 | ||
created: 2018-09-30T16:35:22.593884356+02:00 | ||
description: A Helm chart for EFK stack | ||
digest: caef9bf0810a510360aa2f7d10f6f3a0d8dba92d6a1d98d56a5ef4df3bf8d6bb | ||
digest: e918ad64c644cf3148430c0aea4430a73a7aecc9f99bba83f1cf05661c728fed | ||
name: efk | ||
urls: | ||
- efk-0.1.0.tgz | ||
version: 0.1.0 | ||
elasticsearch: | ||
- apiVersion: v1 | ||
appVersion: 6.1.3 | ||
created: 2018-09-12T15:45:03.420802181+02:00 | ||
created: 2018-09-30T16:35:22.59488509+02:00 | ||
description: A Helm chart for Elasticsearch cluster | ||
digest: eb8163d9a2153c5760e80b530a4ff8653c569b24a3cffd26a1f1be8a4e080179 | ||
maintainers: | ||
|
@@ -47,7 +47,7 @@ entries: | |
version: 0.1.4 | ||
- apiVersion: v1 | ||
appVersion: 6.1.3 | ||
created: 2018-09-12T15:45:03.420339349+02:00 | ||
created: 2018-09-30T16:35:22.594621314+02:00 | ||
description: A Helm chart for Elasticsearch cluster | ||
digest: 32a25b05c73cc92b49fc53b64d25cee44d28e1062db1ef12f2cbcb0e260d0019 | ||
maintainers: | ||
|
@@ -63,7 +63,7 @@ entries: | |
elasticsearch-operator: | ||
- apiVersion: v1 | ||
appVersion: 0.0.12 | ||
created: 2018-09-12T15:45:03.423102475+02:00 | ||
created: 2018-09-30T16:35:22.596354056+02:00 | ||
description: A Helm chart for Elasticsearch operator | ||
digest: 5b946ae9c69685e80964599cadfcf1b675b124eb393471ee0f335e63eb572024 | ||
maintainers: | ||
|
@@ -78,7 +78,7 @@ entries: | |
version: 0.1.5 | ||
- apiVersion: v1 | ||
appVersion: 0.0.12 | ||
created: 2018-09-12T15:45:03.422653561+02:00 | ||
created: 2018-09-30T16:35:22.596090944+02:00 | ||
description: A Helm chart for Elasticsearch operator | ||
digest: f909a7a19ec3e04259a40728c7428515701aed1f8cae7407c8b6a993b6e083d8 | ||
maintainers: | ||
|
@@ -93,7 +93,7 @@ entries: | |
version: 0.1.4 | ||
- apiVersion: v1 | ||
appVersion: 0.0.10 | ||
created: 2018-09-12T15:45:03.421771749+02:00 | ||
created: 2018-09-30T16:35:22.595426278+02:00 | ||
description: A Helm chart for Elasticsearch operator | ||
digest: dea5f18a301f11dee2aef9ac1dd3b44069e4bc128c8c32f8e1322a55a385a282 | ||
maintainers: | ||
|
@@ -106,10 +106,28 @@ entries: | |
urls: | ||
- elasticsearch-operator-0.1.3.tgz | ||
version: 0.1.3 | ||
hpa-operator: | ||
- created: 2018-09-30T16:35:22.596804003+02:00 | ||
description: A Helm chart for Kubernetes | ||
digest: 5ebfbb9595d4cd83bea6be1f025c39d4d4c37381cf03a1e4520e52007a1176e3 | ||
home: https://banzaicloud.com | ||
keywords: | ||
- hpa | ||
- autoscale | ||
maintainers: | ||
- email: [email protected] | ||
name: komljen | ||
url: https://akomljen.com | ||
name: hpa-operator | ||
sources: | ||
- https://github.com/banzaicloud/hpa-operator | ||
urls: | ||
- hpa-operator-0.0.5.tgz | ||
version: 0.0.5 | ||
k8s-spot-rescheduler: | ||
- apiVersion: v1 | ||
appVersion: v0.2.0 | ||
created: 2018-09-12T15:45:03.4247439+02:00 | ||
created: 2018-09-30T16:35:22.598047392+02:00 | ||
description: A k8s-spot-rescheduler Helm chart for Kubernetes | ||
digest: efa17ca0d214dd037427682b8096ab8c47ffa9160e2f0abb490121900cf4db53 | ||
home: https://github.com/pusher/k8s-spot-rescheduler | ||
|
@@ -127,7 +145,7 @@ entries: | |
version: 0.3.0 | ||
- apiVersion: v1 | ||
appVersion: v0.1.1 | ||
created: 2018-09-12T15:45:03.424194744+02:00 | ||
created: 2018-09-30T16:35:22.597706198+02:00 | ||
description: A k8s-spot-rescheduler Helm chart for Kubernetes | ||
digest: 255c56c1e35296a45dee14e8d069210a3c8ef4865b44b01b2378f3b8c1423bd2 | ||
home: https://github.com/pusher/k8s-spot-rescheduler | ||
|
@@ -145,7 +163,7 @@ entries: | |
version: 0.2.0 | ||
kibana: | ||
- appVersion: 6.1.3 | ||
created: 2018-09-12T15:45:03.425361346+02:00 | ||
created: 2018-09-30T16:35:22.598428553+02:00 | ||
description: Kibana is an open source data visualization plugin for Elasticsearch | ||
digest: 17482b8ec6895ab271666a834223554857490c36acc449e87b2ba4b134b3e704 | ||
engine: gotpl | ||
|
@@ -165,4 +183,23 @@ entries: | |
urls: | ||
- kibana-0.4.2.tgz | ||
version: 0.4.2 | ||
generated: 2018-09-12T15:45:03.415471275+02:00 | ||
metrics-server: | ||
- apiVersion: v1 | ||
appVersion: 0.3.1 | ||
created: 2018-09-30T16:35:22.598743009+02:00 | ||
description: Metrics Server is a cluster-wide aggregator of resource usage data. | ||
digest: 9e665061a94a0379ab564500b4ffaee8098f3b252cf25fc231d75242df99cad5 | ||
home: https://github.com/kubernetes-incubator/metrics-server | ||
keywords: | ||
- metrics-server | ||
maintainers: | ||
- email: [email protected] | ||
name: komljen | ||
url: https://akomljen.com | ||
name: metrics-server | ||
sources: | ||
- https://github.com/kubernetes-incubator/metrics-server | ||
urls: | ||
- metrics-server-0.0.5.tgz | ||
version: 0.0.5 | ||
generated: 2018-09-30T16:35:22.591718511+02:00 |
Binary file not shown.
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,21 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj |
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,13 @@ | ||
name: hpa-operator | ||
version: 0.0.5 | ||
description: A Helm chart for Kubernetes | ||
home: https://banzaicloud.com | ||
sources: | ||
- https://github.com/banzaicloud/hpa-operator | ||
keywords: | ||
- hpa | ||
- autoscale | ||
maintainers: | ||
- name: komljen | ||
email: [email protected] | ||
url: https://akomljen.com |
Binary file not shown.
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,6 @@ | ||
dependencies: | ||
- name: metrics-server | ||
repository: file://../metrics-server | ||
version: 0.0.5 | ||
digest: sha256:d370ab37cdf2842869d08e8e9e743e99e2e3d75f0206a41b735f19a7466ecd6c | ||
generated: 2018-09-30T16:31:50.185598231+02:00 |
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,7 @@ | ||
dependencies: | ||
- name: metrics-server | ||
version: "0.0.5" | ||
repository: https://raw.githubusercontent.com/komljen/helm-charts/master/charts/ | ||
# repository: file://../metrics-server | ||
condition: metricsServer.enabled | ||
|
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,43 @@ | ||
{{/* vim: set filetype=mustache: */}} | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "hpa-operator.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "hpa-operator.fullname" -}} | ||
{{- if .Values.fullnameOverride -}} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- $name := default .Chart.Name .Values.nameOverride -}} | ||
{{- if contains $name .Release.Name -}} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" -}} | ||
{{- else -}} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
{{- end -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create chart name and version as used by the chart label. | ||
*/}} | ||
{{- define "hpa-operator.chart" -}} | ||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}} | ||
{{- end -}} | ||
|
||
{{/* | ||
Create the name of the service account to use | ||
*/}} | ||
{{- define "hpa-operator.serviceAccountName" -}} | ||
{{- if .Values.serviceAccount.create -}} | ||
{{ default (include "hpa-operator.fullname" .) .Values.serviceAccount.name }} | ||
{{- else -}} | ||
{{ default "default" .Values.serviceAccount.name }} | ||
{{- end -}} | ||
{{- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{{- if .Values.rbac.create }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: {{ template "hpa-operator.fullname" . }} | ||
labels: | ||
app: {{ template "hpa-operator.name" . }} | ||
chart: {{ template "hpa-operator.chart" . }} | ||
release: {{ .Release.Name }} | ||
heritage: {{ .Release.Service }} | ||
rules: | ||
- apiGroups: | ||
- banzaicloud.com | ||
resources: | ||
- "*" | ||
verbs: | ||
- "*" | ||
- apiGroups: | ||
- "" | ||
resources: | ||
- pods | ||
- events | ||
verbs: | ||
- "*" | ||
- apiGroups: | ||
- apps | ||
resources: | ||
- deployments | ||
- daemonsets | ||
- replicasets | ||
- statefulsets | ||
verbs: | ||
- "*" | ||
- apiGroups: | ||
- autoscaling | ||
resources: | ||
- '*' | ||
verbs: | ||
- '*' | ||
{{- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{{- if .Values.rbac.create }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: | ||
name: {{ template "hpa-operator.fullname" . }} | ||
labels: | ||
app: {{ template "hpa-operator.name" . }} | ||
chart: {{ template "hpa-operator.chart" . }} | ||
release: {{ .Release.Name }} | ||
heritage: {{ .Release.Service }} | ||
roleRef: | ||
apiGroup: rbac.authorization.k8s.io | ||
kind: ClusterRole | ||
name: {{ template "hpa-operator.fullname" . }} | ||
subjects: | ||
- kind: ServiceAccount | ||
name: {{ template "hpa-operator.serviceAccountName" . }} | ||
namespace: {{ .Release.Namespace }} | ||
{{- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: {{ template "hpa-operator.fullname" . }} | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: "{{ template "hpa-operator.fullname" . }}" | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
replicas: {{ .Values.replicaCount }} | ||
selector: | ||
matchLabels: | ||
app: "{{ template "hpa-operator.fullname" . }}" | ||
template: | ||
metadata: | ||
labels: | ||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}" | ||
app: {{ template "hpa-operator.fullname" . }} | ||
heritage: "{{ .Release.Service }}" | ||
release: "{{ .Release.Name }}" | ||
spec: | ||
serviceAccountName: {{ template "hpa-operator.serviceAccountName" . }} | ||
containers: | ||
- name: {{ .Chart.Name }} | ||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}" | ||
imagePullPolicy: {{ .Values.image.pullPolicy }} | ||
command: | ||
- hpa-operator | ||
resources: | ||
{{ toYaml .Values.resources | indent 12 }} |
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,11 @@ | ||
{{- if .Values.serviceAccount.create }} | ||
apiVersion: v1 | ||
kind: ServiceAccount | ||
metadata: | ||
name: {{ template "hpa-operator.serviceAccountName" . }} | ||
labels: | ||
app: {{ template "hpa-operator.name" . }} | ||
chart: {{ template "hpa-operator.chart" . }} | ||
release: {{ .Release.Name }} | ||
heritage: {{ .Release.Service }} | ||
{{- 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Default values for elasticsearch-operator. | ||
# This is a YAML-formatted file. | ||
# Declare variables to be passed into your templates. | ||
image: | ||
repository: banzaicloud/hpa-operator | ||
tag: 0.1.4 | ||
pullPolicy: IfNotPresent | ||
|
||
resources: | ||
limits: | ||
cpu: 100m | ||
memory: 128Mi | ||
requests: | ||
cpu: 100m | ||
memory: 128Mi | ||
|
||
rbac: | ||
create: true | ||
|
||
serviceAccount: | ||
# Specifies whether a ServiceAccount should be created | ||
create: true | ||
# The name of the ServiceAccount to use. | ||
# If not set and create is true, a name is generated using the fullname template | ||
name: | ||
|
||
metricsServer: | ||
enabled: true |
Oops, something went wrong.