Changeset - 6f8a6ccb2407
[Not reviewed]
tip default
0 2 0
drewp@bigasterisk.com - 18 months ago 2023-06-22 06:03:05
drewp@bigasterisk.com
debugging
2 files changed with 74 insertions and 9 deletions:
0 comments (0 inline, 0 general)
upstream/kustomization.yaml
Show inline comments
 
bases:
 
  - pomerium-ingress-controller.yaml
 
  - cert-manager-v1.12.0.yaml
 
patchesStrategicMerge:
 
  - "patch.yaml"
 

	
 
# patches:
 
#   - target:
 
#       kind: Deployment
 
#       name: pomerium
 
#       namespace: pomerium
 
#     patch: |-
 
#       - op: add
 
#         path: /spec/template/spec/containers/0/args/-
 
#         value: "--debug"
 
patches:
 
  - target:
 
      kind: Deployment
 
      name: pomerium
 
      namespace: pomerium
 
    patch: |-
 
      - op: add
 
        path: /spec/template/spec/containers/0/args/-
 
        value: "--debug"
 

	
 
  # fix for a digitalocean/dns issue https://github.com/cert-manager/cert-manager/issues/2485#issuecomment-1167314615
 
  - target:
 
      kind: Deployment
 
      name: cert-manager
 
      namespace: cert-manager
upstream/patch.yaml
Show inline comments
 
@@ -17,12 +17,20 @@ spec:
 
          image: bang5:5000/pomerium_ingress_controller:510
 
          resources:
 
            limits:
 
              cpu: 5000m
 
              # getting OOM at the default 1Gi
 
              memory: 5Gi
 

	
 
      # only for debugging
 
      affinity:
 
        nodeAffinity:
 
          requiredDuringSchedulingIgnoredDuringExecution:
 
            nodeSelectorTerms:
 
            - matchExpressions:
 
              - { key: "kubernetes.io/hostname", operator: In, values: ["ditto"] }
 
---
 
apiVersion: v1
 
kind: Service
 
metadata:
 
  name: pomerium-proxy
 
  namespace: pomerium
 
@@ -43,6 +51,63 @@ metadata:
 
spec:
 
  template:
 
    spec:
 
      containers:
 
      - name: gen-secrets
 
        image: bang5:5000/pomerium_ingress_controller:510
 

	
 
      # only for debugging
 
      affinity:
 
        nodeAffinity:
 
          requiredDuringSchedulingIgnoredDuringExecution:
 
            nodeSelectorTerms:
 
            - matchExpressions:
 
              - { key: "kubernetes.io/hostname", operator: In, values: ["ditto"] }
 
---
 

	
 
apiVersion: apps/v1
 
kind: Deployment
 
metadata:
 
  name: cert-manager-cainjector
 
  namespace: cert-manager
 
spec:
 
  template:
 
    spec:
 
      # only for debugging
 
      affinity:
 
        nodeAffinity:
 
          requiredDuringSchedulingIgnoredDuringExecution:
 
            nodeSelectorTerms:
 
            - matchExpressions:
 
              - { key: "kubernetes.io/hostname", operator: In, values: ["ditto"] }
 
---
 
apiVersion: apps/v1
 
kind: Deployment
 
metadata:
 
  name: cert-manager
 
  namespace: cert-manager
 
spec:
 
  template:
 
    spec:
 
      # only for debugging
 
      affinity:
 
        nodeAffinity:
 
          requiredDuringSchedulingIgnoredDuringExecution:
 
            nodeSelectorTerms:
 
            - matchExpressions:
 
              - { key: "kubernetes.io/hostname", operator: In, values: ["ditto"] }
 
---
 
apiVersion: apps/v1
 
kind: Deployment
 
metadata:
 
  name: cert-manager-webhook
 
  namespace: cert-manager
 
spec:
 
  template:
 
    spec:
 
      # only for debugging
 
      affinity:
 
        nodeAffinity:
 
          requiredDuringSchedulingIgnoredDuringExecution:
 
            nodeSelectorTerms:
 
            - matchExpressions:
 
              - { key: "kubernetes.io/hostname", operator: In, values: ["ditto"] }
 
\ No newline at end of file
0 comments (0 inline, 0 general)