Skip to content

Commit

Permalink
Fix/remove limits qos test (#74)
Browse files Browse the repository at this point in the history
* Update values.yaml

remove limits and image pull policy changed to IfNotPresent

* Update README.md

* Update Chart.yaml bump version
  • Loading branch information
yehielnetapp authored Dec 12, 2023
1 parent 6b08da2 commit 800ab45
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/ocean-network-client/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ maintainers:
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.15
version: 1.0.16

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
6 changes: 3 additions & 3 deletions charts/ocean-network-client/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ocean-network-client

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

A Helm chart for Ocean Network Client

Expand Down Expand Up @@ -44,14 +44,14 @@ helm install my-release spot/ocean-network-client

| Key | Type | Default | Description |
|-----|------|---------|-------------|
| image.pullPolicy | Optional | `"Always"` | Image pull policy. |
| image.pullPolicy | Optional | `"IfNotPresent"` | Image pull policy. |
| image.pullSecrets | Optional | `[]` | Image pull secrets. |
| image.repository | Optional | `"public.ecr.aws/spotinst/spot-network-client"` | Image repository. |
| image.tag | Optional | `""` | Image tag. Defaults to `.Chart.AppVersion`. |
| namespace | Optional | `"kube-system"` | Namespace where components should be installed. |
| oceanController.configMapName | Optional | `"spotinst-kubernetes-cluster-controller-config"` | ConfigMap name. |
| oceanController.secretName | Optional | `"spotinst-kubernetes-cluster-controller"` | Secret name. |
| resources | Optional | `{"limits":{"cpu":"40m","memory":"150Mi"},"requests":{"cpu":"40m","memory":"150Mi"}}` | Resource requests and limits. Ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| resources | Optional | `{"requests":{"cpu":"30m","memory":"150Mi"}}` | Resource requests and limits. Ref: http://kubernetes.io/docs/user-guide/compute-resources/ |
| tolerations | Optional | `[{"operator":"Exists"}]` | Tolerations - Enable pods to run an all nodes in cluster Ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ |

----------------------------------------------
Expand Down
7 changes: 2 additions & 5 deletions charts/ocean-network-client/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ image:
# -- (Optional) Image repository.
repository: public.ecr.aws/spotinst/spot-network-client
# -- (Optional) Image pull policy.
pullPolicy: Always
pullPolicy: IfNotPresent
# -- (Optional) Image pull secrets.
pullSecrets: []
# -- (Optional) Image tag. Defaults to `.Chart.AppVersion`.
Expand All @@ -20,10 +20,7 @@ image:
# Ref: http://kubernetes.io/docs/user-guide/compute-resources/
resources:
requests:
cpu: 40m
memory: 150Mi
limits:
cpu: 40m
cpu: 30m
memory: 150Mi

# -- (Optional) Tolerations - Enable pods to run an all nodes in cluster
Expand Down

0 comments on commit 800ab45

Please sign in to comment.