Skip to content
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

Feature/741/demo k3s #750

Merged
merged 12 commits into from
Nov 26, 2024
Merged

Feature/741/demo k3s #750

merged 12 commits into from
Nov 26, 2024

Conversation

kristofre
Copy link
Collaborator

@kristofre kristofre commented Nov 25, 2024

Closes #741
Closes #739
Closes #643

Tested with the following use cases:

demo_all - which includes:


- include_role:
    name: demo-release-validation-srg-gitlab

- include_role:
    name: demo-ar-workflows-gitlab

- include_role:
    name: demo-monaco-gitops

- include_role:
    name: demo-ar-workflows-ansible

@kristofre kristofre marked this pull request as ready for review November 25, 2024 18:08
@kristofre kristofre requested a review from a team as a code owner November 25, 2024 18:08
Copy link
Contributor

@eemrdog eemrdog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a comment on the canaryweight parameter of app-simplenode role when using ingress.mode canary

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: "{{ .Values.ingress.class }}"
nginx.ingress.kubernetes.io/canary: "{{ if .Values.ingress.isCanary }}true{{ else }}false{{ end }}"
nginx.ingress.kubernetes.io/canary-weight: "{{ .Values.ingress.canaryWeight }}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is "canaryWeight" redundant here? As I see, if the ingress.mode is "canary" this weight parameter is not used. weight is only 1 or 0

weighted:
services:
- name: {{ .Chart.Name }}-0
weight: 1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can canaryWeight value be used here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the nginx ingress controller that is possible, but not for traefik, as it requires a weighting for each target service. I wanted to keep backwards compatibility for those who are using microk8s in combination with nginx ingress.

@kristofre kristofre merged commit 3748980 into dev Nov 26, 2024
2 checks passed
@kristofre kristofre deleted the feature/741/demo_k3s branch November 26, 2024 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants