-
Notifications
You must be signed in to change notification settings - Fork 16.8k
Conversation
/assign @sameersbn |
A separate values file doesn't make sense. You can't use it anyways when you install the chart from the repo. That's rather something that should go into the readme. |
@unguiculus it is linked from the readme, dont you think it would make a very long readme to have a whole values file on it? |
stable/wordpress/README.md
Outdated
@@ -116,6 +116,23 @@ $ helm install --name my-release -f values.yaml stable/wordpress | |||
|
|||
> **Tip**: You can use the default [values.yaml](values.yaml) | |||
|
|||
## Production and horizontal scaling | |||
|
|||
The following repo contains the recommended production settings for wordpress capture in an alternative [values file](values-production.yaml). Please read carefully the comments in the values-production.yaml file to set up your environment appropiately. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo appropiately
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
## Kubernetes configuration | ||
## For minikube, set this to NodePort, elsewhere use LoadBalancer or ClusterIP | ||
## | ||
serviceType: ClusterIp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-> ClusterIP
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@unguiculus: @vtuson is providing a sane default configuration for production use cases with scalability and high availability in mind. As you rightly pointed out, the @vtuson could you add |
@sameersbn done |
/ok-to-test |
/approve |
@unguiculus are you okay with these changes being merged? do you have any other concerns with the addition of a values-production.yaml to the chart directory? |
|
||
```console | ||
$ helm install stable/nfs-server-provisioner --set persistence.enabled=true,persistence.size=10Gi | ||
$ helm install --name my-release -f values-production.yaml --set persitence.storageClass=nfs stable/wordpress |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This won't work as is. The docs should at least mention that values-production.yaml
has to be copied to a local directory.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will do
…he values-prod file
stable/wordpress/README.md
Outdated
@@ -120,10 +120,11 @@ $ helm install --name my-release -f values.yaml stable/wordpress | |||
|
|||
The following repo contains the recommended production settings for wordpress capture in an alternative [values file](values-production.yaml). Please read carefully the comments in the values-production.yaml file to set up your environment appropriately. | |||
|
|||
To horizontally scale this chart: | |||
To horizontally scale this chart, first download the values-production.yaml file to your local folder, then: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be nice if we hotlink to the file in the repo, [values-production.yaml](values-production.yaml)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is hotlink from above.. I would hot link it again.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @vtuson
@unguiculus could you please review
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sameersbn, unguiculus, vtuson The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* production configuration (optional) * improved the command description * bumped chart version * addressed sameers comments * changes suggested in review to make clear that you have to download the values-prod file * updated readme
* production configuration (optional) * improved the command description * bumped chart version * addressed sameers comments * changes suggested in review to make clear that you have to download the values-prod file * updated readme
* production configuration (optional) * improved the command description * bumped chart version * addressed sameers comments * changes suggested in review to make clear that you have to download the values-prod file * updated readme Signed-off-by: voron <av@arilot.com>
What this PR does / why we need it:
Added two things here:
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Special notes for your reviewer: