{"id":14235906,"url":"https://github.com/feiskyer/ops","last_synced_at":"2025-10-09T04:34:23.340Z","repository":{"id":3915563,"uuid":"5004744","full_name":"feiskyer/ops","owner":"feiskyer","description":"Tools\u0026scripts for daily devops.","archived":false,"fork":false,"pushed_at":"2023-10-26T01:08:24.000Z","size":55187,"stargazers_count":161,"open_issues_count":0,"forks_count":67,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-10-19T18:29:18.745Z","etag":null,"topics":["containers","devops","devops-tools","kubernetes","networking","ovs"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/feiskyer.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}},"created_at":"2012-07-12T14:54:29.000Z","updated_at":"2024-08-24T15:28:12.000Z","dependencies_parsed_at":"2024-10-31T16:57:54.722Z","dependency_job_id":"03b87f48-d579-42f6-8a49-af82375d789f","html_url":"https://github.com/feiskyer/ops","commit_stats":{"total_commits":220,"total_committers":4,"mean_commits":55.0,"dds":0.5454545454545454,"last_synced_commit":"8ba650431da99fb0080a09df79cf5fdb7baea1a0"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feiskyer%2Fops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feiskyer%2Fops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feiskyer%2Fops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feiskyer%2Fops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feiskyer","download_url":"https://codeload.github.com/feiskyer/ops/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252862163,"owners_count":21815807,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["containers","devops","devops-tools","kubernetes","networking","ovs"],"created_at":"2024-08-20T21:02:29.919Z","updated_at":"2025-10-09T04:34:18.275Z","avatar_url":"https://github.com/feiskyer.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Devops\n\n[![Build Status](https://travis-ci.org/feiskyer/ops.svg?branch=master)](https://travis-ci.org/feiskyer/ops)\n\nTools\u0026scripts for devops.\n\n**Contents**\n\n- Container/docker management\n- Kubernetes deployment\u0026management\n- Networking experiments\n- Vagrant tools\n\n## Get the scripts\n\n```sh\ngit clone https://github.com/feiskyer/ops.git --recurse-submodules\ncd ops\n```\n\n## Kubernetes\n\n### Create a kubernetes cluster master\n\n- Install kubernetes with docker:\n\n```sh\n# Setup kubernetes master.\nsudo ./kubernetes/install-kubernetes.sh\n```\n\n### Add a new node\n\n```sh\n# Setup token and CIDR first.\n# replace this with yours.\nexport TOKEN=\"xxxx\"\nexport MASTER_IP=\"x.x.x.x\"\nexport CONTAINER_CIDR=\"10.244.2.0/24\"\n\n# Setup and join the new node.\nsudo ./kubernetes/add-node.sh\n```\n\n### Customize\n\n- Use mirrors in China: `export USE_MIRROR=true`. Only required for Chinese users.\n- Container runtime: `export CONTAINER_RUNTIME=\"docker\"`. Supported options:\n  - docker\n  - containerd\n  - cri-o\n  - gvisor\n- CNI network plugins: `export NETWORK_PLUGIN=\"flannel\"`. Supported options:\n  - flannel\n  - calico\n  - weave\n  - azure\n  - bridge\n- Cluster CIDR: `export CLUSTER_CIDR=\"10.244.0.0/16\"`\n- Container CIDR: `export CONTAINER_CIDR=\"10.244.1.0/24\"`. Only required for bridge network plugin.\n\n### Kubernetes manifest examples\n\nSee [k8s-examples](k8s-examples/README.md).\n\n## Docker\n\n```sh\nsudo ./kubernetes/install-docker.sh\n```\n\n## OVS\n\n- Install ovs: `sudo ./ovs/ovs-install.sh`\n- Start ovn: `sudo ./ovs/ovn-start.sh`\n\n## Misc\n\n- Install golang: `sudo ./misc/golang-install.sh`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeiskyer%2Fops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeiskyer%2Fops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeiskyer%2Fops/lists"}