-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(istio): re-onboard + upgrade + split #843
Merged
Merged
Changes from 17 commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
dc2dd42
feat(istio): init re-onboard + upgrade + split
davidspek 276b8d1
fix template
davidspek 008dd4a
some fixes after pushing
davidspek ea5ca1a
some initial kiali fixes
davidspek 2a1e02d
add default istio gateway to ingress chart
davidspek eff2f5e
some fixes for aws nlb ingress + kiali vs
davidspek e3bebab
fix(kiali): allow for oidc login
davidspek 4c39f3e
fix(kiali): allow it to work with sidecar
davidspek d0814b1
fix(kiali): grafana integration
davidspek 4bd5986
some more kiali templating cleanup
davidspek a54a0df
set gateway to 2 replicas + kiali labels
davidspek f0986f9
deps and template fixes
davidspek 44c7006
fix(kiali): enable support for mimir
davidspek 632c386
enable tracing
davidspek 5c3cfd3
update istio dashboards
davidspek 96c6779
bump chart versions
davidspek 020cdc0
remove breaking flag
davidspek dbc39cd
fix recipes
davidspek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ maintainers: | |
email: [email protected] | ||
- name: David van der Spek | ||
email: [email protected] | ||
version: 0.8.73 | ||
version: 0.8.74 | ||
dependencies: | ||
- name: external-dns | ||
version: 6.14.1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
REPO istio-cni | ||
ATTRIBUTES Plural repository.yaml | ||
|
||
TF terraform/* | ||
HELM helm/* | ||
RECIPE plural/recipes/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
dependencies: | ||
- name: cni | ||
repository: https://istio-release.storage.googleapis.com/charts | ||
version: 1.19.0 | ||
- name: ztunnel | ||
repository: https://istio-release.storage.googleapis.com/charts | ||
version: 1.19.0 | ||
digest: sha256:5f9e835cde6c2cda3a01add30d38cee44a3c2595306f17914015c3ee3ed6e0d8 | ||
generated: "2023-09-11T12:24:33.670239+02:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: v2 | ||
name: istio-cni | ||
description: helm chart for istio-cni | ||
type: application | ||
version: 0.1.1 | ||
appVersion: "1.19.0" | ||
dependencies: | ||
- name: cni | ||
version: 1.19.0 | ||
repository: https://istio-release.storage.googleapis.com/charts | ||
condition: cni.enabled | ||
- name: ztunnel | ||
version: 1.19.0 | ||
repository: https://istio-release.storage.googleapis.com/charts | ||
condition: ztunnel.enabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
A helm chart for istio-cni |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: plural.sh/v1alpha1 | ||
kind: Dependencies | ||
metadata: | ||
application: true | ||
description: Deploys istio-cni crafted for the target cloud | ||
spec: | ||
dependencies: | ||
- type: helm | ||
name: bootstrap | ||
repo: bootstrap | ||
version: '>= 0.7.12' | ||
- type: helm | ||
name: istio | ||
repo: istio | ||
version: '>= 0.2.0' | ||
- type: terraform | ||
name: kube | ||
repo: istio-cni | ||
version: '>= 0.1.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{{/* | ||
Expand the name of the chart. | ||
*/}} | ||
{{- define "istio-cni-plural.name" -}} | ||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create a default fully qualified app name. | ||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). | ||
If release name contains chart name it will be used as a full name. | ||
*/}} | ||
{{- define "istio-cni-plural.fullname" -}} | ||
{{- if .Values.fullnameOverride }} | ||
{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- $name := default .Chart.Name .Values.nameOverride }} | ||
{{- if contains $name .Release.Name }} | ||
{{- .Release.Name | trunc 63 | trimSuffix "-" }} | ||
{{- else }} | ||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create chart name and version as used by the chart label. | ||
*/}} | ||
{{- define "istio-cni-plural.chart" -}} | ||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} | ||
{{- end }} | ||
|
||
{{/* | ||
Common labels | ||
*/}} | ||
{{- define "istio-cni-plural.labels" -}} | ||
helm.sh/chart: {{ include "istio-cni-plural.chart" . }} | ||
{{ include "istio-cni-plural.selectorLabels" . }} | ||
{{- if .Chart.AppVersion }} | ||
app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} | ||
{{- end }} | ||
app.kubernetes.io/managed-by: {{ .Release.Service }} | ||
{{- end }} | ||
|
||
{{/* | ||
Selector labels | ||
*/}} | ||
{{- define "istio-cni-plural.selectorLabels" -}} | ||
app.kubernetes.io/name: {{ include "istio-cni-plural.name" . }} | ||
app.kubernetes.io/instance: {{ .Release.Name }} | ||
{{- end }} | ||
|
||
{{/* | ||
Create the name of the service account to use | ||
*/}} | ||
{{- define "istio-cni-plural.serviceAccountName" -}} | ||
{{- if .Values.serviceAccount.create }} | ||
{{- default (include "istio-cni-plural.fullname" .) .Values.serviceAccount.name }} | ||
{{- else }} | ||
{{- default "default" .Values.serviceAccount.name }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
global: | ||
hub: gcr.io/istio-release | ||
|
||
cni: | ||
enabled: true | ||
cni: | ||
resources: | ||
requests: | ||
cpu: 100m | ||
memory: 100Mi | ||
# privileged: true # Possibly needed for ambient mode | ||
excludeNamespaces: | ||
- istio | ||
- istio-ingress | ||
- kube-system | ||
# ambient: | ||
# enabled: false | ||
# redirectMode: ebpf | ||
# redirectMode: iptables # this is the default. For GKE and new AKS it would need to be ebpf | ||
|
||
ztunnel: | ||
enabled: false | ||
hub: gcr.io/istio-release | ||
istioNamespace: istio | ||
redirectMode: ebpf | ||
# redirectMode: iptables # this is the default. For GKE and new AKS it would need to be ebpf | ||
resources: | ||
requests: | ||
cpu: 100m | ||
memory: 1024Mi | ||
meshConfig: | ||
defaultConfig: | ||
proxyMetadata: | ||
ISTIO_META_ENABLE_HBONE: "true" # Needed for ambient mode | ||
CA_ADDRESS: istiod.istio.svc:15012 # Hack until new chart is released | ||
XDS_ADDRESS: istiod.istio.svc:15012 # Hack until new chart is released |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Use `plural watch istio-cni` to track the status of your application |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: istio-cni-aws | ||
description: Installs istio-cni on an aws eks cluster | ||
provider: AWS | ||
primary: true | ||
dependencies: | ||
- repo: bootstrap | ||
name: aws-k8s | ||
- repo: istio | ||
name: istio-aws | ||
sections: | ||
- name: istio-cni | ||
configuration: [] | ||
items: | ||
- type: TERRAFORM | ||
name: kube | ||
- type: HELM | ||
name: istio-cni |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: istio-cni-azure | ||
description: Installs istio-cni on an aws eks cluster | ||
provider: AZURE | ||
primary: true | ||
dependencies: | ||
- repo: bootstrap | ||
name: azure-k8s | ||
- repo: istio | ||
name: istio-azure | ||
sections: | ||
- name: istio-cni | ||
configuration: [] | ||
items: | ||
- type: TERRAFORM | ||
name: kube | ||
- type: HELM | ||
name: istio-cni |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: istio-cni-gcp | ||
description: Installs istio-cni on an aws eks cluster | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. gcp gke |
||
provider: GCP | ||
primary: true | ||
dependencies: | ||
- repo: bootstrap | ||
name: gcp-k8s | ||
- repo: istio | ||
name: istio-gcp | ||
sections: | ||
- name: istio-cni | ||
configuration: [] | ||
items: | ||
- type: TERRAFORM | ||
name: kube | ||
- type: HELM | ||
name: istio-cni |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: istio-cni | ||
description: istio-cni deployed on plural | ||
category: NETWORK | ||
private: true | ||
icon: plural/icons/istio.png | ||
notes: plural/notes.tpl | ||
homepage: https://istio.io/ | ||
gitUrl: https://github.com/istio/istio | ||
tags: | ||
- tag: istio | ||
- tag: network | ||
- tag: security |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
apiVersion: plural.sh/v1alpha1 | ||
kind: Dependencies | ||
metadata: | ||
description: istio-cni kubernetes setup | ||
version: 0.1.0 | ||
spec: | ||
dependencies: [] | ||
providers: | ||
- aws | ||
- gcp | ||
- azure | ||
- kind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
resource "kubernetes_namespace" "istio-cni" { | ||
metadata { | ||
name = var.namespace | ||
labels = { | ||
"app.kubernetes.io/managed-by" = "plural" | ||
"app.plural.sh/name" = "istio-cni" | ||
|
||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
namespace = {{ .Namespace | quote }} | ||
cluster_name = {{ .Cluster | quote }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
variable "namespace" { | ||
type = string | ||
default = "istio-cni" | ||
} | ||
|
||
variable "cluster_name" { | ||
type = string | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
REPO istio-ingress | ||
ATTRIBUTES Plural repository.yaml | ||
|
||
TF terraform/* | ||
HELM helm/* | ||
RECIPE plural/recipes/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Patterns to ignore when building packages. | ||
# This supports shell glob matching, relative path matching, and | ||
# negation (prefixed with !). Only one pattern per line. | ||
.DS_Store | ||
# Common VCS dirs | ||
.git/ | ||
.gitignore | ||
.bzr/ | ||
.bzrignore | ||
.hg/ | ||
.hgignore | ||
.svn/ | ||
# Common backup files | ||
*.swp | ||
*.bak | ||
*.tmp | ||
*.orig | ||
*~ | ||
# Various IDEs | ||
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dependencies: | ||
- name: gateway | ||
repository: https://istio-release.storage.googleapis.com/charts | ||
version: 1.19.0 | ||
digest: sha256:518d9b00690f92ce7a833150409637c6ad5b96a7fe203114e53c265166f702f3 | ||
generated: "2023-09-11T12:39:30.936515+02:00" |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
azure aks