{"id":20448713,"url":"https://github.com/srbala/snc","last_synced_at":"2026-04-11T09:02:09.594Z","repository":{"id":54655581,"uuid":"334952923","full_name":"srbala/snc","owner":"srbala","description":"Local copy of OKD (Open Source version of OpenShift), single node cluster installation steps. Original sources available at https://github.com/code-ready/snc","archived":false,"fork":false,"pushed_at":"2021-02-05T16:57:59.000Z","size":215,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-01-03T22:08:10.055Z","etag":null,"topics":["k8s","k8s-cluster","okd","openshift","openshift-deployment"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srbala.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-02-01T13:06:54.000Z","updated_at":"2021-09-13T23:07:53.000Z","dependencies_parsed_at":"2022-08-13T23:00:45.194Z","dependency_job_id":null,"html_url":"https://github.com/srbala/snc","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/srbala/snc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srbala%2Fsnc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srbala%2Fsnc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srbala%2Fsnc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srbala%2Fsnc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srbala","download_url":"https://codeload.github.com/srbala/snc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srbala%2Fsnc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31674624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T08:18:19.405Z","status":"ssl_error","status_checked_at":"2026-04-11T08:17:08.892Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["k8s","k8s-cluster","okd","openshift","openshift-deployment"],"created_at":"2024-11-15T10:36:29.270Z","updated_at":"2026-04-11T09:02:09.577Z","avatar_url":"https://github.com/srbala.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Single node cluster (SNC) scripts for OpenShift 4 \n\n## How to use?\n- Make sure the one time system requirements setup is satisfied. (https://github.com/openshift/installer/blob/master/docs/dev/libvirt/README.md#one-time-setup)\n- Clone this repo `git clone https://github.com/code-ready/snc.git`\n- `cd \u003cdirectory_to_cloned_repo\u003e`\n- `./snc.sh`\n\n## How to create disk image?\n- Once your `snc.sh` script run successfully.\n- You need to wait for around 30 mins till cluster settle.\n- `./createdisk.sh crc-tmp-install-data`\n\n## Monitoring\n\nThe installation is a [long process](https://github.com/openshift/installer/blob/master/docs/user/overview.md#cluster-installation-process). It can take up to 45 mins.\nYou can monitor the progress of the installation with `kubectl`.\n\n```\n$ export KUBECONFIG=\u003cdirectory_to_cloned_repo\u003e/crc-tmp-install-data/auth/kubeconfig\n$ kubectl get pods --all-namespaces\n```\n\n## Building SNC for OKD 4\n- Before running `./snc.sh`, you need to create a pull secret file, and set a couple of environment variables to override the default behavior.\n- Select the OKD 4 release that you want to build from: [https://origin-release.apps.ci.l2s4.p1.openshiftapps.com](https://origin-release.apps.ci.l2s4.p1.openshiftapps.com)\n- For example, to build release: 4.6.0-0.okd-2021-01-23-132511\n\n```bash\n# Create a pull secret file\n\ncat \u003c\u003c EOF \u003e /tmp/pull_secret.json\n{\"auths\":{\"fake\":{\"auth\": \"Zm9vOmJhcgo=\"}}}\nEOF\n\n# Set environment for OKD build\nexport OKD_VERSION=4.6.0-0.okd-2021-01-23-132511\nexport OPENSHIFT_PULL_SECRET_PATH=\"/tmp/pull_secret.json\"\n\n# Build the Single Node cluster\n./snc.sh\n```\n\n- When the build is complete, create the disk image as described below.\n\n```\nexport BUNDLED_PULL_SECRET_PATH=\"/tmp/pull_secret.json\"\n./createdisk.sh crc-tmp-install-data\n```\n\n## Troubleshooting\n\nOpenShift installer will create 2 VMs. It is sometimes useful to ssh inside the VMs.\nAdd the following lines in your `~/.ssh/config` file. You can then do `ssh master` and `ssh bootstrap`.\n\n```\nHost master\n    Hostname 192.168.126.11\n    User core\n    IdentityFile \u003cdirectory_to_cloned_repo\u003e/id_ecdsa_crc\n    StrictHostKeyChecking no\n    UserKnownHostsFile /dev/null\n\nHost bootstrap\n    Hostname 192.168.126.10\n    User core\n    IdentityFile \u003cdirectory_to_cloned_repo\u003e/id_ecdsa_crc\n    StrictHostKeyChecking no\n    UserKnownHostsFile /dev/null\n```\n\nPlease note the SNC project is “as-is” on this Github repository. At this time, it is not an offically supported Red Hat solution.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrbala%2Fsnc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrbala%2Fsnc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrbala%2Fsnc/lists"}