All Projects → code-ready → snc

code-ready / snc

Licence: Apache-2.0 license
Single Node Cluster creation scripts for OpenShift 4.x as used by CodeReady Containers

Programming Languages

shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to snc

okd-installation-centos
This repository is used to create OKD 3.11 Cluster with 9 simple steps on Bare VM's
Stars: ✭ 23 (-72.62%)
Mutual labels:  openshift, openshift-cluster, openshift-deployment
cryostat
Secure JDK Flight Recorder management for containerized JVMs
Stars: ✭ 147 (+75%)
Mutual labels:  openshift, podman
openshift-install-power
UPI Install helper to deploy OpenShift 4 on IBM Power Systems Virtual Server using Terraform IaC
Stars: ✭ 16 (-80.95%)
Mutual labels:  openshift, openshift-deployment
codewind-eclipse
Plugin for developing cloud-native, containerized applications from Eclipse IDE
Stars: ✭ 13 (-84.52%)
Mutual labels:  openshift
ods-jenkins-shared-library
Shared Jenkins library which all ODS projects & components use - provisioning, SonarQube code scanning, Nexus publishing, OpenShift template based deployments and repository orchestration
Stars: ✭ 51 (-39.29%)
Mutual labels:  openshift
hybrid-cloud-serverless
Bursting Cloud (K)native Services across clouds using OpenShift and Skupper
Stars: ✭ 35 (-58.33%)
Mutual labels:  openshift
docker-phpmyadmin
phpMyAdmin as Docker container, based on official image, always latest version
Stars: ✭ 40 (-52.38%)
Mutual labels:  openshift
platform-services
Collection of platform related tools and configurations
Stars: ✭ 11 (-86.9%)
Mutual labels:  openshift
wildfly-operator
Kubernetes Operator for WildFly
Stars: ✭ 28 (-66.67%)
Mutual labels:  openshift
podman-api-rs
Rust interface to Podman (libpod).
Stars: ✭ 37 (-55.95%)
Mutual labels:  podman
grafana-operator
An operator for Grafana that installs and manages Grafana instances, Dashboards and Datasources through Kubernetes/OpenShift CRs
Stars: ✭ 449 (+434.52%)
Mutual labels:  openshift
loki-operator
viaq.github.io/loki-operator/
Stars: ✭ 30 (-64.29%)
Mutual labels:  openshift
verification-tests
Blackbox test suite for OpenShift.
Stars: ✭ 41 (-51.19%)
Mutual labels:  openshift
ibm-spectrum-scale-csi
The IBM Spectrum Scale Container Storage Interface (CSI) project enables container orchestrators, such as Kubernetes and OpenShift, to manage the life-cycle of persistent storage.
Stars: ✭ 41 (-51.19%)
Mutual labels:  openshift
kourier
Kourier is a Knative Serving Ingress. It has been adopted by Knative, and we keep developing it at: github.com/knative/net-kourier
Stars: ✭ 47 (-44.05%)
Mutual labels:  openshift
declarative-openshift
Working examples of manifests for openshift for use in a declarative management strategy.
Stars: ✭ 17 (-79.76%)
Mutual labels:  openshift
cni-plugins
CNI Plugins compatible with nftables
Stars: ✭ 29 (-65.48%)
Mutual labels:  podman
cryostat-operator
An OpenShift Operator to facilitate setup and management of Cryostast and expose the Cryostat API through Kubernetes Custom Resources.
Stars: ✭ 25 (-70.24%)
Mutual labels:  openshift
techlab
This repository contains the APPUiO and OpenShift Techlab tutorials.
Stars: ✭ 51 (-39.29%)
Mutual labels:  openshift
kubectl-terminate
kubectl-terminate, a kubectl plugin to remove finalizers and finally delete k8s resources
Stars: ✭ 23 (-72.62%)
Mutual labels:  openshift

Single node cluster (snc) scripts for OpenShift 4

How to use?

How to create disk image?

  • Once your snc.sh script run successfully.
  • You need to wait for around 30 mins till cluster settle.
  • ./createdisk.sh crc-tmp-install-data

Monitoring

The installation is a long process. It can take up to 45 mins. You can monitor the progress of the installation with kubectl.

$ export KUBECONFIG=<directory_to_cloned_repo>/crc-tmp-install-data/auth/kubeconfig
$ kubectl get pods --all-namespaces

Building SNC for OKD 4

  • Before running ./snc.sh, you need to create a pull secret file, and set a couple of environment variables to override the default behavior.
  • Select the OKD 4 release that you want to build from: https://origin-release.apps.ci.l2s4.p1.openshiftapps.com
  • For example, to build release: 4.5.0-0.okd-2020-08-12-020541
# Create a pull secret file

cat << EOF > /tmp/pull_secret.json
{"auths":{"fake":{"auth": "Zm9vOmJhcgo="}}}
EOF

# Set environment for OKD build
export OKD_VERSION=4.5.0-0.okd-2020-08-12-020541
export OPENSHIFT_PULL_SECRET_PATH="/tmp/pull_secret.json"

# Build the Single Node cluster
./snc.sh
  • When the build is complete, create the disk image as described below.
export BUNDLED_PULL_SECRET_PATH="/tmp/pull_secret.json"
./createdisk.sh crc-tmp-install-data

Troubleshooting

OpenShift installer will create 2 VMs. It is sometimes useful to ssh inside the VMs. Add the following lines in your ~/.ssh/config file. You can then do ssh master and ssh bootstrap.

Host master
    Hostname 192.168.126.11
    User core
    IdentityFile <directory_to_cloned_repo>/id_ecdsa_crc
    StrictHostKeyChecking no
    UserKnownHostsFile /dev/null

Host bootstrap
    Hostname 192.168.126.10
    User core
    IdentityFile <directory_to_cloned_repo>/id_ecdsa_crc
    StrictHostKeyChecking no
    UserKnownHostsFile /dev/null

Please note the SNC project is “as-is” on this Github repository. At this time, it is not an offically supported Red Hat solution.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].