Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kevydotvinu/openshift-network-playground
The OpenShift Network Playground is built for advanced OpenShift users who needs to quickly build and test different OpenShift network scenarios.
https://github.com/kevydotvinu/openshift-network-playground
network ocp openshift-v4 openshift4
Last synced: 3 months ago
JSON representation
The OpenShift Network Playground is built for advanced OpenShift users who needs to quickly build and test different OpenShift network scenarios.
- Host: GitHub
- URL: https://github.com/kevydotvinu/openshift-network-playground
- Owner: kevydotvinu
- License: mit
- Created: 2023-02-12T02:12:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-07T10:26:59.000Z (10 months ago)
- Last Synced: 2024-10-16T04:59:34.485Z (4 months ago)
- Topics: network, ocp, openshift-v4, openshift4
- Language: Makefile
- Homepage: https://kevy.gitbook.io/onp
- Size: 2.29 MB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenShift Network Playground (onp)
[](https://github.com/kevydotvinu/openshift-network-playground/blob/master/LICENSE)
[](https://github.com/kevydotvinu/openshift-network-playground/releases)
[](https://github.com/kevydotvinu/openshift-network-playground/actions/workflows/build-customize-artifact.yaml)
[](https://github.com/kevydotvinu/openshift-network-playground/issues)
[](https://github.com/kevydotvinu/openshift-network-playground/pulls)
[](https://github.com/kevydotvinu/openshift-network-playground)The OpenShift Network Playground is both web-based and cli-based interface built for advanced OpenShift users that makes it easy to quickly build and test different OpenShift network scenarios.
## Architecture
## Features
- Zero-touch installation (ZTI).
- [Cockpit](https://cockpit-project.org/) cluster deployment.
- Easy NIC addition to the cluster nodes.
- Web-based file manager, VM management and container management.
- RHCOS console login for unreachable nodes.
- Quick Operator installation and sample manifests for test.
- [Network tools](https://github.com/openshift/network-tools).
- [Single-stack IPv6 cluster](#single-stack-ipv6-cluster-architecture).
- Easy RHCOS/FCOS VM provisioning.
- Kind cluster.
- Golang network tools.## Prerequisites
### OpenShift cluster manager API token
Copy it from [here](https://console.redhat.com/openshift/token/show).### Machine
|Machine|CPU|RAM|DISK|
|:-:|:-:|:-:|:-:|
|VM or Bare-metal|20|80 GB|320 GB|> **INFO**: Enable nested virtualization if the host is a VM. In Red Hat Virtualization, enable the `Pass-Through Host CPU` CPU option in the Virtual Machine settings (Under the Host section). In VMware ESXi, enable `Hardware virtualization` (Expose hardware assisted virtualization to the guest OS). This can be checked using the `virt-host-validate` command from the VM itself. The output of the command should provide `QEMU: Checking for hardware virtualization : PASS`.
## Installation
- Download the ISO.
```bash
curl -LO $(curl -s https://api.github.com/repos/kevydotvinu/openshift-network-playground/releases/latest | grep "browser_download_url.*\.iso" | cut -d : -f 2,3 | tr -d \")
```
- Boot it and wait for the installation to complete (Monitor the progress in the machine console).
> **WARNING**: The ISO boot will erase ALL the data on the `/dev/sda` disk and install OpenShift Network Playground automatically.## OpenShift cluster deployment
### Web-based
- Access Cockpit console (`https://:9090/`).
- Authenticate using the credentials (username: `onp`, password: `Onp@123`).
- Go to `OpenShift` tab.
- Enter the release (`stable-4.12`, `4.12.2`, etc) and [OCM API token](https://console.redhat.com/openshift/token/show).
- Press the `Deploy` button.> **INFO**: To monitor the deployment progress, go to `Services` tab and search for `deploy-cluster.service`.
### CLI-based
```bash
onp help
onp deploy RELEASE= OCM_TOKEN=
```
## Single-stack IPv6 cluster architecture
## Sponsor
Many thanks to **JetBrains** for Open Source development license(s).[](https://jb.gg/OpenSourceSupport)