Домой United States USA — software Hands-On GitOps With OneDev and Kubernetes

Hands-On GitOps With OneDev and Kubernetes

211
0
ПОДЕЛИТЬСЯ

Learn how to set up OneDev, an open-source git repository server with built-in CI/CD integration, to do GitOps in Kubernetes.
Join the DZone community and get the full member experience. First, we need a Kubernetes cluster. You may use an existing one or set up a new one. For this tutorial, we chose to use GKE (Google Kubernetes Engine). Just follow the quick start to create a cluster. To save your money, the default pool with only one node is sufficient for our testing. For node image type, use the default Container-Optimized OS; for machine type, please select one with at least 8G mem. After creating the cluster, go ahead to configure kubectl to connect to the cluster following this guide. To verify that things are working, run below command in your terminal to make sure it is successful: Now that we have a working cluster, let’s deploy OneDev into the cluster to manage code of our demo project OneDev should be up and running.

Continue reading...