{"id":36688796,"url":"https://github.com/converged-computing/usernetes-azure","last_synced_at":"2026-01-12T11:17:56.426Z","repository":{"id":273663344,"uuid":"920109095","full_name":"converged-computing/usernetes-azure","owner":"converged-computing","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-08T19:41:32.000Z","size":1928,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-10T05:36:43.082Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/converged-computing.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-01-21T15:25:10.000Z","updated_at":"2025-05-08T19:41:35.000Z","dependencies_parsed_at":"2025-01-22T08:33:48.446Z","dependency_job_id":"5796bd94-897c-43c7-ab45-1b5c70e82ee9","html_url":"https://github.com/converged-computing/usernetes-azure","commit_stats":null,"previous_names":["converged-computing/usernetes-azure"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/converged-computing/usernetes-azure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/converged-computing%2Fusernetes-azure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/converged-computing%2Fusernetes-azure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/converged-computing%2Fusernetes-azure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/converged-computing%2Fusernetes-azure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/converged-computing","download_url":"https://codeload.github.com/converged-computing/usernetes-azure/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/converged-computing%2Fusernetes-azure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338970,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:58:46.209Z","status":"ssl_error","status_checked_at":"2026-01-12T10:58:42.742Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":[],"created_at":"2026-01-12T11:17:55.485Z","updated_at":"2026-01-12T11:17:56.421Z","avatar_url":"https://github.com/converged-computing.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# usernetes-azure\n\n\n## Launching a cluster\n\nThe method described here to launch a cluster uses the Azure interface directly, not Terraform.\nAfter logging into the Azure portal, create a new VMSS with the following attributes (if not mentioned then not modified):\n\nBasic menu:\n* name of the VMSS : flux-usernetes\n* Resource group : create a new one (flux-usernetes)\n* Region : US South Central US (choose a region you have quota for)\n* Availability zone: None\n* Orchestration mode : Uniform\n* Security type: Standard\n* Scaling mode: Manually update the capacity\n* Number of instances : 2 (or more)\n* Image : from local azure images ('My Images'), select flux-usernetes-ubuntu-2404\n* Size: Standard_HB120-96RS_V3 96 Vcpu 456 gIb\n* SSH choose a pem key or make one\n* license type : Other\n* Ignore / nothing to change for: spot, disks, management, health\n* Networking: virtual network: allow to create new Vnet\n\nWhen using SSH to connect to the instances, in Networking menu:\n* edit network interface to allow SSH\n* enable public IP address\n\nAdvanced menu:\n* enable user data\n* in user data, copy paste the start-script.sh file content\n* select a placement group (optional)\n\nOnce the VMSS is created, you can log into the first VM.\n\n## Installing Usernetes\n\nIf some VMs have uppercase letters in their hostname, change the Makefile to have : \n```\nHOSTNAME ?= $(shell hostname | tr 'A-Z' 'a-z')\n\nflux archive create --name=makefile --mmap -C /home/azureuser/usernetes Makefile\nflux exec -r all -x 0 flux archive extract --overwrite --name=makefile -C /home/azureuser/usernetes\n```\n\nOn the first VM, run the typical steps to install Usernetes:\n\n```console\n# git commit we used 1d3956cdfc141bfab1c04a613fa4601ed2474418\ncd usernetes\nmake up\nmake kubeadm-init\nmake install-flannel\nmake kubeconfig\nKUBECONFIG=$(pwd)/kubeconfig kubectl get nodes\nexport KUBECONFIG=$(pwd)/kubeconfig\nmake join-command\n```\n\nCopy the join-command file to all other VMs:\n\n```bash\nflux archive create --name=join-command --mmap -C /home/azureuser/usernetes join-command\n\n# The -r refers to ranks, and you should only select the ones active for the instance (flux resource list)\nflux exec -r 1 flux archive extract --overwrite --name=join-command -C /home/azureuser/usernetes\n```\n\nLaunch Usernetes on the others VMs:\n\n```bash\nflux exec -r 1 --dir /home/azureuser/usernetes make up\nflux exec -r 1 --dir /home/azureuser/usernetes make kubeadm-join\n```\n\nFinalize installation of Usernetes, and install the Flux Operator:\n\n```console\nmake sync-external-ip\necho \"export KUBECONFIG=/home/azureuser/usernetes/kubeconfig\" \u003e\u003e ~/.bashrc\nexport KUBECONFIG=/home/azureuser/usernetes/kubeconfig\nkubectl get nodes -o wide\nkubectl apply -f https://raw.githubusercontent.com/flux-framework/flux-operator/refs/heads/main/examples/dist/flux-operator.yaml\n(optional)\nOn a 2 node cluster, allow pods to be scheduled to the controller node:\nkubectl taint node u7s-flux-user000000 node-role.kubernetes.io/control-plane:NoSchedule-\n```\n\nFrom here, we can use Usernetes as normal and create MiniClusters. Example of the minicluster definition I used in my tests is in minicluster.yaml.\n\n```\nkubectl apply -f minicluster.yaml\nkubectl get pods\nkubectl exec -ti flux-sample-XXX -- /bin/bash\nexport FLUX_URI=local:///mnt/flux/view/run/flux/local\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconverged-computing%2Fusernetes-azure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fconverged-computing%2Fusernetes-azure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fconverged-computing%2Fusernetes-azure/lists"}