-
Notifications
You must be signed in to change notification settings - Fork 16.7k
Conversation
Can a kubernetes member verify that this patch is reasonable to test? If so, please reply with "@k8s-bot ok to test" on its own line. Regular contributors should join the org to skip this step. |
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed, please reply here (e.g.
|
Hey @jainishshah17!! Thanks for the submission! A few things to fix up:
|
CLAs look good, thanks! |
|
||
## Configuration | ||
|
||
The following tables lists the configurable parameters of the elasticsearch chart and their default values. |
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.
s/elasticsearch/JFrog Artifactory
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.
Fixed
Can u squash your commits amigo? |
@jainishshah17 your rebase is a tad wonky. Please remove the .ignore changes out of the commit ;) |
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 for the PR!! Have a couple tweaks
## Prerequisites Details | ||
|
||
* Kubernetes 1.3 with alpha APIs enabled | ||
* Artifactory Pro trial license |
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.
@viglesiasce how are we handling paid for software? Do we need some notice in the README, hey you need to pay for this ;)
|
||
``` | ||
$ kubectl delete pods -l release=my-release,type=data | ||
$ kubectl delete pvcs -l release=my-release,type=data |
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.
Can you include the timed wait that is in the PetSet docs?
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.
@chrislovecnm I have updated my chart
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.
No here is an example
$ grace=$(kubectl get po web-0 --template '{{.spec.terminationGracePeriodSeconds}}')
$ kubectl delete petset,po -l app=nginx
$ sleep $grace
$ kubectl delete pvc -l app=nginx
ports: | ||
- containerPort: 8081 | ||
name: http | ||
# This (and the volumes section below) mount the config map as a volume. |
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.
Where is this at? We need resource limit and health probes as well please
Changed Servie type to NodePort for minikube Removed Dependencies Updated Readme Removed Nginx Updated Readme Added Volume and Resource removed gitignore file
@jainishshah17 any luck on the Linux Foundation CLA? |
@prydonius Done signing it. |
Can you rebase to fix the conflicts? |
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 for the chart. Some more notes.
@@ -1,35 +0,0 @@ | |||
# General files for the project |
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.
You need to remove this file from your commit. You are removing it from the repo. Add it back in your branch please.
|
||
``` | ||
$ kubectl delete pods -l release=my-release,type=data | ||
$ kubectl delete pvcs -l release=my-release,type=data |
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.
No here is an example
$ grace=$(kubectl get po web-0 --template '{{.spec.terminationGracePeriodSeconds}}')
$ kubectl delete petset,po -l app=nginx
$ sleep $grace
$ kubectl delete pvc -l app=nginx
# is a nice option for the user. Especially in the strange cases like | ||
# artifactory where the base distro is determined by the tag. Using :latest | ||
# is frowned upon, using :stable isn't that great either. | ||
image: "{{default "docker.bintray.io/jfrog/artifactory-pro" .Values.image}}:{{default "4.13.2" .Values.imageTag}}" |
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.
I would prefer to have these hard coded values in values.yaml. @viglesiasce thoughts?
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.
I agree. Also, fix to .Values.Image
(capital i) and .Values.ImageTag
, as in values.yaml
.
# is frowned upon, using :stable isn't that great either. | ||
image: "{{default "docker.bintray.io/jfrog/artifactory-pro" .Values.image}}:{{default "4.13.2" .Values.imageTag}}" | ||
imagePullPolicy: {{default "IfNotPresent" .Values.pullPolicy}} | ||
resources: |
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 is a much cleaner way to do the resources https://github.com/kubernetes/charts/blob/master/stable/mysql/templates/deployment.yaml#L34
You will need the https://github.com/kubernetes/charts/blob/master/stable/mysql/templates/_helpers.tpl file as well in your chart.
name: {{ template "fullname" . }} | ||
- name: logs | ||
configMap: | ||
name: {{ template "fullname" . }} |
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.
You list PVC in your instructions, but you do not define any PVC components in your chat?
@@ -0,0 +1,17 @@ | |||
# Default values for etcd. |
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.
etcd?
# artifactory where the base distro is determined by the tag. Using :latest | ||
# is frowned upon, using :stable isn't that great either. | ||
image: "{{default "docker.bintray.io/jfrog/artifactory-pro" .Values.image}}:{{default "4.13.2" .Values.imageTag}}" | ||
imagePullPolicy: {{default "IfNotPresent" .Values.pullPolicy}} |
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.
.Values.pullPolicy
-> .Values.ImagePullPolicy
chart: "{{.Chart.Name}}-{{.Chart.Version}}" | ||
spec: | ||
ports: | ||
- port: {{default 8081 .Values.httpPort}} |
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.
.Values.httpPort
is not defined
Can you add a NOTES.txt file that explains what users need to do in order to use the Chart? |
@prydonius I have updated my changes. Please check |
@k8s-bot ok to test |
@@ -31,7 +31,7 @@ imageTag: "5.7.14" | |||
persistence: | |||
enabled: true | |||
storageClass: generic | |||
accessMode: ReadWriteOnce | |||
accessMode: ReadWrite |
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 should not be changed in this PR.
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.
Changed default image to Artifactory-oss
persistence: | ||
enabled: true | ||
storageClass: generic | ||
accessMode: ReadWrite |
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.
Invalid access mode, see test results.
|
||
Name: artifactory | ||
Component: "Artifactory" | ||
image: "docker.bintray.io/jfrog/artifactory-pro" |
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.
can we default this to the oss image and have a note about how to switch it?
@k8s-bot e2e test this |
@jainishshah17: you can't request testing unless you are a kubernetes member. In response to this comment:
If you have questions or suggestions related to this bot's behavior, please file an issue against the kubernetes/test-infra repository. |
@k8s-bot ok to test |
@@ -0,0 +1,6 @@ | |||
Artifactory can be accessed via port 8081 on the following DNS name from within your cluster: | |||
{{ template "fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local | |||
|
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.
Add examples of how to connect to this from outside the cluster. Check out the jenkins chart for an example of how to differentiate between the various service modes.
## Kubernetes configuration | ||
## For minikube, set this to NodePort, elsewhere use LoadBalancer | ||
## | ||
ServiceType: LoadBalancer |
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.
Lets make this ClusterIP by default since the password isnt randomly generated by default.
Looking good @jainishshah17! Was able to install it this time around. 2 more things to fix:
|
Jenkins Charts e2e failed for commit 19780eb. Full PR test history. The magic incantation to run this job again is |
@viglesiasce Made changes please check |
This worked for me. Thanks @jainishshah17! |
[T2A-143] use PAPERTRAIL_SYSTEM_NAME for hostname
Adding JFrog Artifactory
No description provided.