Skip to content

cert-manager v3.3.1 not working on GKE #150

@54nd20

Description

@54nd20

When updating component-cert-manager from v3.3.0 to v3.3.1 the deployment gets stuck because of the introduction of prorityClasses in #149.

  Warning  FailedCreate  13m (x19 over 35m)  replicaset-controller  Error creating: insufficient quota to match these scopes: [{PriorityClass In [system-node-critical system-cluster-critical]}]

Similar issues in other projects:

By default there is a ResourceQuata for namespace "kube-system":

apiVersion: v1
kind: ResourceQuota
metadata:
  labels:
    addonmanager.kubernetes.io/mode: Reconcile
  name: gcp-critical-pods
  namespace: kube-system
spec:
  hard:
    pods: 1G
  scopeSelector:
    matchExpressions:
    - operator: In
      scopeName: PriorityClass
      values:
      - system-node-critical
      - system-cluster-critical

I think having a similar quota in the namespace where cert-manager is deployed should solve this issue.

Steps to Reproduce the Problem

  1. Update cert-manager to v3.3.1 on a GKE cluster

Actual Behavior

Rollout gets stuck

Expected Behavior

Successful update of cert-manager

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions