Skip to content

Commit

Permalink
Add envoy helm charts (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
miseyu authored Sep 17, 2021
1 parent a9148db commit 13d9926
Show file tree
Hide file tree
Showing 11 changed files with 1,836 additions and 0 deletions.
22 changes: 22 additions & 0 deletions charts/envoy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: v2
name: envoy
description: Envoy Proxy for Scalar applications
type: application
version: 1.0.0
appVersion: 1.1.0
deprecated: false
icon: https://scalar-labs.com/wp-content/themes/scalar/assets/img/logo_scalar.svg
keywords:
- envoy
- grpc
- grpc-server
home: https://scalar-labs.com/
sources:
- https://github.com/scalar-labs/scalar-envoy
maintainers:
- name: Yusuke Morimoto
email: [email protected]
- name: Yuji Mise
email: [email protected]
- name: Hiroyuki Yamada
email: [email protected]
42 changes: 42 additions & 0 deletions charts/envoy/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# envoy

![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.1.0](https://img.shields.io/badge/AppVersion-1.1.0-informational?style=flat-square)

Envoy Proxy for Scalar applications
Current chart version is `1.0.0`

**Homepage:** <https://scalar-labs.com/>

## Values

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | the affinity/anti-affinity feature, greatly expands the types of constraints you can express |
| envoyConfiguration.adminAccessLogPath | string | `"/dev/stdout"` | admin log path |
| grafanaDashboard.enabled | bool | `false` | enable grafana dashboard |
| grafanaDashboard.namespace | string | `"monitoring"` | which namespace grafana dashboard is located. by default monitoring |
| image.pullPolicy | string | `"IfNotPresent"` | Specify a imagePullPolicy |
| image.repository | string | `"ghcr.io/scalar-labs/scalar-envoy"` | Docker image |
| image.version | string | `"1.1.0"` | |
| imagePullSecrets | list | `[]` | Optionally specify an array of imagePullSecrets. Secrets must be manually created in the namespace. |
| nodeSelector | object | `{}` | nodeSelector is form of node selection constraint |
| podSecurityContext | object | `{}` | PodSecurityContext holds pod-level security attributes and common container settings |
| prometheusRule.enabled | bool | `false` | enable rules for prometheus |
| prometheusRule.namespace | string | `"monitoring"` | which namespace prometheus is located. by default monitoring |
| replicaCount | int | `3` | number of replicas to deploy |
| resources | object | `{}` | resources allowed to the pod |
| securityContext | object | `{}` | Setting security context at the pod applies those settings to all containers in the pod |
| service.annotations | object | `{}` | Service annotations, e.g: prometheus, etc. |
| service.ports.envoy-priv.port | int | `50052` | nvoy public port |
| service.ports.envoy-priv.protocol | string | `"TCP"` | envoy protocol |
| service.ports.envoy-priv.targetPort | int | `50052` | envoy k8s internal name |
| service.ports.envoy.port | int | `50051` | envoy public port |
| service.ports.envoy.protocol | string | `"TCP"` | envoy protocol |
| service.ports.envoy.targetPort | int | `50051` | envoy k8s internal name |
| service.type | string | `"ClusterIP"` | service types in kubernetes |
| serviceMonitor.enabled | bool | `false` | enable metrics collect with prometheus |
| serviceMonitor.interval | string | `"15s"` | custom interval to retrieve the metrics |
| serviceMonitor.namespace | string | `"monitoring"` | which namespace prometheus is located. by default monitoring |
| strategy.rollingUpdate | object | `{"maxSurge":"25%","maxUnavailable":"25%"}` | The number of pods that can be unavailable during the update process |
| strategy.type | string | `"RollingUpdate"` | New pods are added gradually, and old pods are terminated gradually, e.g: Recreate or RollingUpdate |
| tolerations | list | `[]` | Tolerations are applied to pods, and allow (but do not require) the pods to schedule onto nodes with matching taints. |
12 changes: 12 additions & 0 deletions charts/envoy/README.md.gotmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{{ template "chart.header" . }}

{{ template "chart.versionBadge" . }} {{ template "chart.typeBadge" . }} {{ template "chart.appVersionBadge" . }}

{{ template "chart.description" . }}
Current chart version is `{{ template "chart.version" . }}`

**Homepage:** <https://scalar-labs.com/>

{{ template "chart.requirementsSection" . }}

{{ template "chart.valuesSection" . }}
Loading

0 comments on commit 13d9926

Please sign in to comment.