Skip to content

Instantly share code, notes, and snippets.

@cathei
Last active April 9, 2022 18:29
Show Gist options
  • Save cathei/77a9169dacc6aa65a1475d5dbd44f60f to your computer and use it in GitHub Desktop.
Save cathei/77a9169dacc6aa65a1475d5dbd44f60f to your computer and use it in GitHub Desktop.
Installing Jaeger on Autopilot GKE
resources:
- https://github.com/cert-manager/cert-manager/releases/download/v1.8.0/cert-manager.yaml
patchesJson6902:
# https://github.com/cert-manager/cert-manager/issues/3338
# https://github.com/cert-manager/cert-manager/issues/3717
# Credit to @lnhrdt on comment
- target:
group: rbac.authorization.k8s.io
version: v1
kind: Role
name: cert-manager:leaderelection
patch: |-
- op: replace
path: /metadata/namespace
value: cert-manager
- target:
group: rbac.authorization.k8s.io
version: v1
kind: Role
name: cert-manager-cainjector:leaderelection
patch: |-
- op: replace
path: /metadata/namespace
value: cert-manager
- target:
group: rbac.authorization.k8s.io
version: v1
kind: RoleBinding
name: cert-manager:leaderelection
patch: |-
- op: replace
path: /metadata/namespace
value: cert-manager
- target:
group: rbac.authorization.k8s.io
version: v1
kind: RoleBinding
name: cert-manager-cainjector:leaderelection
patch: |-
- op: replace
path: /metadata/namespace
value: cert-manager
- target:
group: apps
version: v1
kind: Deployment
name: cert-manager
patch: |-
- op: replace
path: /spec/template/spec/containers/0/args/2
value: --leader-election-namespace=cert-manager
- target:
group: apps
version: v1
kind: Deployment
name: cert-manager-cainjector
patch: |-
- op: replace
path: /spec/template/spec/containers/0/args/1
value: --leader-election-namespace=cert-manager
  • Follow instruction of Official Jaeger Operator Install Manual

  • Problem: kube-system is protected namespace. cert-manager cannot create resource to it.

    • Issue: cert-manager/cert-manager#3717
    • Solution: You have to change leader election namespace of cert-manager. See attached file cert-manager-kustomization.
  • Problem: Custom jeager replica set is keep created and scaled to 0. Pods are keep terminating. Message shows Does not have minimum availability.

  • Problem: gce ingress controller is not creating properly.

    • Solution: Install nginx ingress controller instead. Set spec.ingress.ingressClassName to nginx.
  • Problem: Want to set base path for UI.

    • Solution: Set query.options.query.base-path. If all-in-one, set allInOne.options.query.base-path instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment