Skip to content

cookew/iaas-cyclops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2,049 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a mirror of my of git repository I use with ArgoCD for deploying my Kubernetes cluster cluster that was originally deployed with ansible-kubernetes.

Deploy

  1. Deploy manifests.
    kustomize build --enable-helm deploy/ | kubectl apply --server-side -f -
    
  2. Re-encrypt the sealed secrets, update the git repo.
  3. Re-deploy manifests.
    kustomize build --enable-helm deploy/ | kubectl apply --server-side -f -
    
  4. Update ceph minimum placement groups, if needed.
    # Determine if there is a problem
    kubectl -n rook-ceph-cluster describe cephobjectstore
    # Fix pg_num_min
    kubectl -n rook-ceph-cluster exec deploy/rook-ceph-tools -- ceph osd pool set .rgw.root pg_num_min 8
    
  5. Delete the super-user group to auto-add admin roles from various apps to the group.
    kubectl delete roles.group.keycloak.crossplane.io super-users
    

Sealed Secrets

Sealed secrets are used for the cert-manager cluster CA cert and key, and for the Argo SSH key. The sealed secrets should be placed in those app's sealed-secrets directory.

  • /apps/argocd/sealed-secrets
  • /apps/cert-manager-certs/sealed-secrets

Login info

ArgoCD

  • Username: admin
  • Password:
    kubectl -n argocd get secrets argocd-secret -o go-template='{{index .data "admin.password" | base64decode | printf "%s\n"}}'
    

Ceph

  • Username: admin
  • Password:
    kubectl -n rook-ceph-cluster get secrets rook-ceph-dashboard-password -o go-template='{{index .data "password" | base64decode | printf "%s\n"}}'
    

GitLab

Keycloak

  • Username:
    kubectl -n keycloak get secrets keycloak-user -o go-template='{{index .data "username" | base64decode | printf "%s\n"}}'
    
  • Password:
    kubectl -n keycloak get secrets keycloak-user -o go-template='{{index .data "password" | base64decode | printf "%s\n"}}'
    

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Contributors