Repository navigation
Istio release 0.2.6 - #2369
Istio release 0.2.6#2369
Conversation
| # https://github.com/kubernetes/charts/issues/1501 | ||
| version: 0.1.6-chart6 | ||
| appVersion: 0.1.6 | ||
| version: 0.2.6-chart1 |
There was a problem hiding this comment.
I still don't understand why we use this confusing chart versioning here. Doesn't make sense to me. version and appVersion are two different things. You kind of force them to be in sync with this. I don't know of any other chart that does this in that fashion.
There was a problem hiding this comment.
Istio users were getting confused when trying to install because helm shows the chart version not the appVersion. So while they wanted to install 0.1.6 of Istio they were searching and finding 0.3.0 of the Helm chart. There is no rule against versioning this way if its what the maintainers of the chart want.
| @@ -0,0 +1,383 @@ | |||
| {{- if and .Values.istio.install (not .Release.IsInstall) -}} | |||
There was a problem hiding this comment.
Best practice is to have one file per resource. Maybe you could put them in a subfolder custom-resources. Would be much clearer.
| @@ -0,0 +1,289 @@ | |||
| {{- $serviceName := include "istio.name" . -}} | |||
There was a problem hiding this comment.
Same as above. One resource per file, please.
| @@ -0,0 +1,48 @@ | |||
| {{- $serviceName := include "istio.name" . -}} | |||
There was a problem hiding this comment.
One file per resource, please.
| @@ -1,10 +1,17 @@ | |||
| {{- if and .Values.istio.install (not .Release.IsInstall) -}} | |||
There was a problem hiding this comment.
One file per resource, please.
There was a problem hiding this comment.
ouch! Also for the CRD and customresources, potentially hundreds of files... Can we get consensus on what we should do here?
There was a problem hiding this comment.
I'm fine with multiple resources per file if it makes your life as a chart maintainer easier. As a maintainer of the repo it doesn't make things harder or easier for me.
There was a problem hiding this comment.
Yes, +1 for this, I think that we can treat the RBAC as an exception for this, maintaining in one file is more easy to understand.
There was a problem hiding this comment.
OK, then let's keep it like this. I think, in general we recommend one file per resource, but I guess an exception makes sense here.
| alpha.istio.io/sidecar: ignore | ||
| sidecar.istio.io/inject: "false" | ||
| image: docker.io/openzipkin/zipkin | ||
| imageTag: latest |
There was a problem hiding this comment.
latest? Is the a stable version?
There was a problem hiding this comment.
This is what the release calls for
| alpha.istio.io/sidecar: ignore | ||
| sidecar.istio.io/inject: "false" | ||
| image: quay.io/coreos/prometheus | ||
| imageTag: v1.1.1 |
There was a problem hiding this comment.
1.1.1 sounds ancient. 1.7.2 is current.
There was a problem hiding this comment.
There is nothing stopping Istio from requiring 1.1.1 if that's what it is tested against.
There was a problem hiding this comment.
This is what release 0.2.6 calls for
| @@ -62,18 +67,6 @@ pilot: | |||
| cpu: 100m | |||
| memory: 128Mi | |||
There was a problem hiding this comment.
The recommendation is not to specify defaults for resources.
Add configmap checksum to roll deploy Add initializer Various bug fixes
|
Is apiextensions beta in 1.7.x? |
gyliu513
left a comment
There was a problem hiding this comment.
Thanks @lachie83 for the great work, I think that for all of the deployment, we may also need to add the following to all of the deployment files to make sure the deployment won't got stuck in case the initConfig got created first.
apiVersion: apps/v1beta1
kind: Deployment
metadata:
initializers:
pending: []
Please refer to https://github.com/kelseyhightower/kubernetes-initializer-tutorial/blob/master/docs/best-practices.md#best-practices for detail
| @@ -1,5 +1,6 @@ | |||
| {{- if and .Values.istio.install (not .Release.IsInstall) -}} | |||
There was a problem hiding this comment.
The service graph image should also be updated to docker.io/istio/servicegraph:0.2.6
There was a problem hiding this comment.
Nice catch. Thanks!
| spec: | ||
| metrics: | ||
| - name: request_count | ||
| instance_name: requestcount.metric.istio-system |
There was a problem hiding this comment.
I think that we can remove the istio-system or replace it with {{ .Release.Namespace }}?
| @@ -1,10 +1,17 @@ | |||
| {{- if and .Values.istio.install (not .Release.IsInstall) -}} | |||
There was a problem hiding this comment.
Yes, +1 for this, I think that we can treat the RBAC as an exception for this, maintaining in one file is more easy to understand.
|
|
@gyliu513 I took a look through the initializer source and it appears to ignore anything with the following annotation set so we should be covered. Feel free to test and let me know See https://github.com/istio/pilot/blob/master/platform/kube/inject/initializer.go |
|
/retest |
| name: {{ $serviceName }}-initializer-admin-role-binding | ||
| subjects: | ||
| - kind: ServiceAccount | ||
| name: {{ $serviceName }}--initializer-service-account |
There was a problem hiding this comment.
is -- (double dash) intentional here?
|
@lachie83 What I concerned is sometimes, you may found that you cannot deploy applications and all applications will be pending for about 30s and then timeout. For such kind of issue, it is usually caused by the initializerConfig if the sidecar initializer does not work. Please check out one of my blog post here for detail https://github.com/gyliu513/jay-work/blob/master/k8s/example/kube-initializer-tutorial/medium-article.md#troubleshooting No worry, I do hope that we can merge your PR first and I can follow up with other issues ;-) |
|
@lachie83 0.2.7 is released https://github.com/istio/istio/releases/tag/0.2.7 :-) Hope we can have 0.2.6 soon! |
|
@gyliu513 I've confirmed that 0.2.7 is just an image bump for now... |
Updated Istio chart to support release 0.2.6
The PR is all but done but need an assist on the following: