Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added recording

...

Info

This presentation was recorded by Sylvain Desbureaux  and maybe linked here or somewhere else.available here:

View file
namemeeting_recording_20211124.mp4
height250

This page basically acts as my PowerPoint presentation, but without PowerPoint and as GardWiki page.

It should be treated like an outline, which should give you all the good links and a basic outline, of how we use Argo CD at DT for ONAP.

...

  • Argo CD at TNAP
    • Recently Andreas and Marc gave a talk:
    • Two scenarios:
      • Deploy gitlab runner into one k8s cluster
        • Just for learning and getting a feeling
        • The runner settings in Gitlab 
        • install the runner in a different cluster like tesla-dev
          • start with version 0.33.1 update it later to 0.34.0
          • add it to all kustomization.yaml's

            Code Block
            languageyml
            themeDJango
            titlegitlab-runner-k8s.yaml
            ---
            apiVersion: argoproj.io/v1alpha1
            kind: Application
            metadata:
              name: gitlab-runner
              namespace: argocd
              annotations:
                argocd.argoproj.io/sync-wave: "0"
            spec:
              project: argo-management
              syncPolicy:
                automated:
                  prune: false
                  selfHeal: true
              destination:
                namespace: tnap
                server: https://kubernetes.default.svc
              source:
                repoURL: https://charts.gitlab.io
                chart: gitlab-runner
                targetRevision: 0.33.1
                helm:
                  values: |
                    imagePullSecrets:
                      - name: tnap-docker-registry-key
                    imagePullPolicy: Always
                    gitlabUrl: "https://gitlab.devops.telekom.dewhatever_url_we_have/"
                    runnerRegistrationToken: "dnCTzaRs6EK-by1AqQxuwhatever_token"
                    runners:
                      tags: "tnaplab_k8s_test_oom_test_demostration"
                      name: "tnaplab_k8s_test_oom_test_demostration"
            
            



          • Code Block
            languageyml
            themeDJango
            titlekustomization.yaml
            ---
            kind: Kustomization
            apiVersion: kustomize.config.k8s.io/v1beta1
            resources:
              - gitlab-runner-k8s.yaml
            
            



          • Code Block
            languageyml
            themeDJango
            titlekustomization.yaml
            ---
            kind: Kustomization
            apiVersion: kustomize.config.k8s.io/v1beta1
            resources:
              - ...
              - ...
              - gitlab-runner-k8s/


          • now update it to version 0.34.0
      • Update an existing ONAP component
        • oom from onap
        • In our case, we split the oom repo into several repos. One helm chart repo for each onap component.
        • and yesterday we had the increase the internal version number of dmaap (from 8.0.1 to 8.0.1-1) 
        • Code Block
          languageyml
          themeDJango
          @@ -16,4 +16,4 @@
          apiVersion: v1
          description: ONAP DMaaP components
          name: dmaap
          - version: 8.0.1
          + version: 8.0.1-1


        • and we put it into our artifactory (JFrog), similar to nexus


        • Now we need to update it in our argo-management repo to the version 8.0.1-1 as well

        • and watch it in Argo CD, how it is being updated
    • Outlook were we like to get better:
    • Summary of Argo:
    • More from Argo / other projects:
    • Offtopic/Backup:
      • argo-management repo has linters in place

        Code Block
        languagebash
        themeDJango
        ➜  argo-management git:(main) pre-commit run --all-files
        Check Yaml...............................................................Passed
        Fix End of Files.........................................................Passed
        Trim Trailing Whitespace.................................................Passed
        yamllint.................................................................Passed
        k8svalidate..............................................................Passed


...