Skip to content
Snippets Groups Projects

Draft: aptly: increase the pvc size for aptly volume

Closed Ritesh Raj Sarraf requested to merge wip/ritesh/increate-pvc-aptly.main into main

Signed-off-by: Ritesh Raj Sarraf ritesh.sarraf@collabora.com

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Validated with playbook.

     I have no name!@25c1c9258dfe:/ansible-playbooks$ ansible-playbook -i inventories/production/all.yaml digital-ocean-k8s/aptly.yaml -l aptly-repositories --diff 
    --chec
    k
    [WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to
    see details
    [WARNING]: Found both group and host with same name: cert-manager
    [WARNING]: Found both group and host with same name: traefik
    [WARNING]: Found both group and host with same name: vector
    [WARNING]: Found both group and host with same name: monitoring
    [WARNING]: Found both group and host with same name: lava-gitlab-runner
    [WARNING]: Found both group and host with same name: apertis-snapshot-service
    [WARNING]: Found both group and host with same name: aptly-landing
    [WARNING]: Found both group and host with same name: ci-deployment-namespace
    [WARNING]: Found both group and host with same name: metrics-server
    [WARNING]: Found both group and host with same name: obs-gitlab-runner
    [WARNING]: Found both group and host with same name: qa-report-app
    
    PLAY [Deploy aptly] **********************************************************************
    
    TASK [include_role : aptly] **************************************************************
    Monday 09 September 2024  15:12:09 +0000 (0:00:00.038)       0:00:00.038 ****** 
    
    TASK [aptly : Read secrets from Vault] ***************************************************
    Monday 09 September 2024  15:12:09 +0000 (0:00:00.021)       0:00:00.059 ****** 
    [WARNING]: Collection community.hashi_vault does not support Ansible version 2.10.8
    ok: [aptly-repositories] => (item={'var': 'api_secret', 'path': 'api'})
    ok: [aptly-repositories] => (item={'var': 'gpg_secret', 'path': 'gpg'})
    skipping: [aptly-repositories] => (item={'var': 'apache_auth', 'path': ''}) 
    
    TASK [aptly : aptly-repositories -- namespace] *******************************************
    Monday 09 September 2024  15:12:11 +0000 (0:00:01.701)       0:00:01.761 ****** 
    ok: [aptly-repositories]
    
    TASK [aptly : Create apache2 auth secret] ************************************************
    Monday 09 September 2024  15:12:14 +0000 (0:00:02.783)       0:00:04.545 ****** 
    skipping: [aptly-repositories]
    
    TASK [aptly : Add the bitnami chart repository] ******************************************
    Monday 09 September 2024  15:12:14 +0000 (0:00:00.015)       0:00:04.560 ****** 
    ok: [aptly-repositories]
    
    TASK [aptly : Add the ory chart repository] **********************************************
    Monday 09 September 2024  15:12:14 +0000 (0:00:00.302)       0:00:04.862 ****** 
    ok: [aptly-repositories]
    
    TASK [aptly : Create a temporary aptly chart checkout path] ******************************
    Monday 09 September 2024  15:12:14 +0000 (0:00:00.160)       0:00:05.023 ****** 
    ok: [aptly-repositories]
    
    TASK [aptly : Git clone the aptly chart repository] **************************************
    Monday 09 September 2024  15:12:15 +0000 (0:00:00.193)       0:00:05.216 ****** 
    [WARNING]: Ignoring depth argument. Shallow clones are only available for HEAD, branches,
    tags or in combination with refspec.
    ok: [aptly-repositories]
    
    TASK [aptly : Deploy nginx-token-auth] ***************************************************
    Monday 09 September 2024  15:12:27 +0000 (0:00:11.932)       0:00:17.149 ****** 
    ok: [aptly-repositories]
    
    TASK [aptly : Deploy aptly] **************************************************************
    Monday 09 September 2024  15:12:40 +0000 (0:00:13.947)       0:00:31.097 ****** 
    aptly-repositories, aptly-data, PersistentVolumeClaim (v1) has changed:
      # Source: aptly/templates/pvc.yaml
      apiVersion: v1
      kind: PersistentVolumeClaim
      metadata:
        name: aptly-data
        labels:
          helm.sh/chart: aptly-0.1.0
          app.kubernetes.io/name: aptly
          app.kubernetes.io/instance: aptly
          app.kubernetes.io/version: "1.16.0"
          app.kubernetes.io/managed-by: Helm
        annotations:
        accessModes:
                    - ReadWriteOnce
        resources:
          requests:
    -       storage: "1500Gi"
    +       storage: "1600Gi"
    changed: [aptly-repositories]
    
    TASK [aptly : Locate the aptly PVC] ******************************************************
    Monday 09 September 2024  15:12:49 +0000 (0:00:08.732)       0:00:39.830 ****** 
    ok: [aptly-repositories]
    
    TASK [aptly : Set the aptly PV reclaim policy to Retain] *********************************
    Monday 09 September 2024  15:12:50 +0000 (0:00:01.147)       0:00:40.977 ****** 
    skipping: [aptly-repositories]
    
    TASK [aptly : Deploy oathkeeper] *********************************************************
    Monday 09 September 2024  15:12:50 +0000 (0:00:00.015)       0:00:40.993 ****** 
    ok: [aptly-repositories]
    
    PLAY RECAP *******************************************************************************
    aptly-repositories         : ok=10   changed=1    unreachable=0    failed=0    skipped=2    rescued=0    ignored=0   
    
    Monday 09 September 2024  15:13:00 +0000 (0:00:09.642)       0:00:50.635 ****** 
    =============================================================================== 
    aptly : Deploy nginx-token-auth -------------------------------------------------- 13.95s
    aptly : Git clone the aptly chart repository ------------------------------------- 11.93s
    aptly : Deploy oathkeeper --------------------------------------------------------- 9.64s
    aptly : Deploy aptly -------------------------------------------------------------
    - 8.73s
    aptly : aptly-repositories -- namespace ------------------------------------------- 2.78s
    aptly : Read secrets from Vault --------------------------------------------------- 1.70s
    aptly : Locate the aptly PVC ------------------------------------------------------ 1.15s
    aptly : Add the bitnami chart repository ------------------------------------------ 0.30s
    aptly : Create a temporary aptly chart checkout path ------------------------------ 0.19s
    aptly : Add the ory chart repository ---------------------------------------------- 0.16s
    include_role : aptly -------------------------------------------------------------- 0.02s
    aptly : Set the aptly PV reclaim policy to Retain --------------------------------- 0.02s
    aptly : Create apache2 auth secret ------------------------------------------------ 0.02s
    I have no name!@25c1c9258dfe:/ansible-playbooks$ 
    I have no name!@25c1c9258dfe:/ansible-playbooks$ 
  • Ritesh Raj Sarraf marked this merge request as draft

    marked this merge request as draft

  • THis change is not relevant as we want the aptly-jamba pvc to be increased. Need to check with @pvigo if/whether aptly-jamba is enabled in the playbook.

Please register or sign in to reply
Loading