-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
eksctl
stages: - init - deploy variables: KUBECTL_VERSION: 1.20.5 ARGOCD_VERSION: 1.7.4 ARGOCD_ADDR: argocd.example.com # Get ArgoCD credentials from Secret Manager before_script: - export AROGOCD_TOKEN="$(aws secretsmanager get-secret-value --secret-id argocd-token --version-stage AWSCURRENT --query SecretString --output text)" # install kubectl - curl -L "https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl" -o /usr/bin/kubectl # install argocd - curl -sSL -o /usr/local/bin/argocd "https://github.com/argoproj/argo-cd/releases/download/v${ARGOCD_VERSION}/argocd-linux-amd64" init demo project 🔬: stage: init when: manual image: name: amazon/aws-cli script: - argocd cluster add $BUSINESS_K8S_CONTEXT --name business-cluster-dev --kubeconfig $KUBE_CONFIG --auth-token=${AROGOCD_TOKEN} --server ${ARGOCD_ADDR} || echo 'cluster already added' tags: - k8s-dev-runner only: - master deploy demo project 🚀: stage: init when: manual image: name: amazon/aws-cli script: - sed -i "s,,$BUSINESS_K8S_CLUSTER_URL,g;s,,$CI_PROJECT_URL.git,g" application.yaml # Connect to aws eks devops cluster - aws eks update-kubeconfig --region $AWS_REGION --name $EKS_CLUSTER_NAME # Create ArgoCD project - argocd proj create demo-dev -d $KUBERNETES_CLUSTER_URL,app-dev -s $CI_PROJECT_URL.git --auth-token=${AROGOCD_TOKEN} --server ${ARGOCD_ADDR} || echo 'project already created' # Create ArgoCD application - kubectl apply -n argocd -f application.yaml tags: - k8s-dev-runner only: - master deploy demo app 🌐: stage: deploy image: name: amazon/aws-cli script: - cd envs/dev - argocd app sync demo-dev --auth-token=${AROGOCD_TOKEN} --server ${ARGOCD_ADDR} tags: - k8s-dev-runner only: - tags
Related posts
-
Real Time DevOps Project | Deploy to Kubernetes Using Jenkins | End to End DevOps Project | CICD
-
ArgoCD Deployment on RKE2 with Cilium Gateway API
-
Implementing GitOps with Argo CD, GitHub, and Azure Kubernetes Service
-
Sharding the Clusters across Argo CD Application Controller Replicas
-
Auto-scaling DynamoDB Streams applications on Kubernetes