Ansible for DevOps
Dit boek, Ansible for DevOps, vormt een technische basis voor de aanpak van het C2 Platform.
Dit boek, Ansible for DevOps, vormt een technische basis voor de aanpak van het C2 Platform.
The RWS Development Environment is an extension of the C2 Development Environment, so it’s essential to set up the C2 environment first.
Learn how to set up a local development environment and create your first virtual machine using Vagrant and Ansible.
Create Kubernetes cluster / instance on c2d-ks1
.
Install Ansible, Vagrant, LXD, Virtualbox and clone the project directories.
This guide provides step-by-step instructions for setting up the CKA cluster using Ansible, including the creation of the control plane (master node) and three worker nodes. The entire setup can be completed in approximately 15 minutes with the C2 Platform.
Learn how to effortlessly synchronize a folder from your host machine to the guest machine.
Create GitLab Container Registry on node c2d-gitlab
.
Learn how to downgrade the kernel on Ubuntu 22.04 to resolve compatibility issues with VirtualBox.
This section provides pages for a step-by-step approach to manually set up the Kubernetes cluster, offering insights into key configurations and commands for effective deployment.
Explore the integration of Ansible and Vagrant in a reference implementation project, pivotal to developing and mimicking real-world infrastructure locally within the C2 framework.
Install Ansible, Vagrant, LXD, Virtualbox and clone the project directory.
Vagrant provides a user-friendly platform for creating and managing simple local development environments, streamlining the setup process.
C2 Platform images for LXD, VirtualBox with Ubuntu, RedHat Enterprise Linux and Windows 2022 Server.
The C2 Platform offers a optimized, flexible and generic approach for utilizing Vagrant.
How to get access from the host to the CKA Cluster
LXD is an open-source, lightweight virtualization platform that combines the strengths of traditional virtual machines with the flexibility of Docker containers to efficiently manage virtualized environments.
Install, initialize and configure LXD.
Install Vagrant, Vagrant plugin vagrant-lxd
, vagrant-windows-sysprep
and enable Vagrant autocomplete.
In cases where LXD is not feasible, VirtualBox offers a reliable alternative. It provides pre-configured VM images, including options for Microsoft Windows targets, ensuring compatibility across diverse environments.
Install, initialize and configure LXD.
Create and provision the gsd-rproxy1
node, which is an essential prerequisite for a functional development environment.
Make necessary ( ArcGIS ) software and licenses for Ansible on Windows gsd
nodes using Vagrant Sync Folders.
Install VirtualBox, configure Host-Only Networking, and ensure Vagrant synced folders work flawlessly.
Create and provision the c2d-rproxy1
, which is an essential prerequisite for a functional development environment.
Ansible Inventory project for C2 Platform reference implementation.
Learn how to become your own Certificate Authority (CA) and manage certificates for various services using the cacerts2
Ansible role.
Learn how to automate stop-start routines efficiently using a versatile and adaptable Ansible role.
Ansible Inventory project for RWS GIS Platform reference implementation.
Prepare for your Kubernetes certifications with a cluster designed for practical exam scenarios. This guide details how to create a CKA cluster using the C2 Platform development environment.
Vagrant is the default but you can also use Ansible directly if you prefer.
This page outlines the essential setup steps for both master and worker nodes in a Kubernetes cluster. disable swap, load the required kernel modules, set the necessary system parameters, and install CRI-O runtime, Kubeadm, and related tools.
This page details the steps for setting up the control plane node in a Kubernetes cluster. It covers cluster initialization, obtaining the join command for worker nodes, and installing both the Calico network plugin and Metrics server.
This step outlines the steps required to successfully join worker nodes to a Kubernetes cluster, ensuring they are configured correctly for operation.