{"id":19358660,"url":"https://github.com/ironcore-dev/machine-controller-manager-provider-ironcore","last_synced_at":"2025-04-23T11:32:22.653Z","repository":{"id":79218735,"uuid":"560016913","full_name":"ironcore-dev/machine-controller-manager-provider-ironcore","owner":"ironcore-dev","description":"Gardener machine controller manager provider for IronCore","archived":false,"fork":false,"pushed_at":"2024-10-29T21:15:53.000Z","size":478,"stargazers_count":3,"open_issues_count":2,"forks_count":2,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-10-29T23:42:42.446Z","etag":null,"topics":["gardener","node-management"],"latest_commit_sha":null,"homepage":"https://github.com/ironcore-dev","language":"Go","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/ironcore-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-31T15:12:29.000Z","updated_at":"2024-10-16T07:33:41.000Z","dependencies_parsed_at":"2023-11-28T11:32:09.902Z","dependency_job_id":"112f4df2-e956-4994-aa4a-0efffadb677c","html_url":"https://github.com/ironcore-dev/machine-controller-manager-provider-ironcore","commit_stats":null,"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironcore-dev%2Fmachine-controller-manager-provider-ironcore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironcore-dev%2Fmachine-controller-manager-provider-ironcore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironcore-dev%2Fmachine-controller-manager-provider-ironcore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ironcore-dev%2Fmachine-controller-manager-provider-ironcore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ironcore-dev","download_url":"https://codeload.github.com/ironcore-dev/machine-controller-manager-provider-ironcore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223922073,"owners_count":17225636,"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":["gardener","node-management"],"created_at":"2024-11-10T07:12:35.933Z","updated_at":"2024-11-10T07:12:36.599Z","avatar_url":"https://github.com/ironcore-dev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# machine-controller-manager-provider-ironcore\n\n[![REUSE status](https://api.reuse.software/badge/github.com/ironcore-dev/machine-controller-manager-provider-ironcore)](https://api.reuse.software/info/github.com/ironcore-dev/machine-controller-manager-provider-ironcore)\n[![Go Report Card](https://goreportcard.com/badge/github.com/ironcore-dev/machine-controller-manager-provider-ironcore)](https://goreportcard.com/report/github.com/ironcore-dev/machine-controller-manager-provider-ironcore)\n[![GitHub License](https://img.shields.io/static/v1?label=License\u0026message=Apache-2.0\u0026color=blue)](LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://makeapullrequest.com)\n\nOut of tree (controller based) implementation for `ironcore` as a new provider.\n\n## About\n- The `ironcore` Out Of Tree provider implements the interface defined at [MCM OOT driver](https://github.com/gardener/machine-controller-manager/blob/master/pkg/util/provider/driver/driver.go).\n\n## Fundamental Design Principles:\n\nFollowing are the basic principles kept in mind while developing the external plugin.\n* Communication between this Machine Controller (MC) and Machine Controller Manager (MCM) is achieved using the Kubernetes native declarative approach.\n* Machine Controller (MC) behaves as the controller used to interact with the cloud provider `ironcore` and manage the resources corresponding to the machine objects.\n* Machine Controller Manager (MCM) deals with higher level objects such as machine-set and machine-deployment objects.\n\n## Support for a new provider\n\n- Steps to be followed while implementing/testing a new provider are mentioned [here](https://github.com/gardener/machine-controller-manager/blob/master/docs/development/cp_support_new.md)\n\n## Testing the IronCore OOT\n\n1. Open terminal pointing to `$GOPATH/src/github.com/gardener`. Clone this repository.\n\n2. Navigate to `$GOPATH/src/github.com/ironcore-dev/machine-controller-manager-provider-ironcore`.\n    - In the `MAKEFILE` make sure `$TARGET_KUBECONFIG` points to the cluster where you wish to manage machines. `$CONTROL_NAMESPACE` represents the namespaces where MCM is looking for machine CR objects, and `$CONTROL_KUBECONFIG` points to the cluster which holds these machine CRs.\n    - Run the machine controller (driver) using the command below.\n        ```bash\n        make start\n        ```\n3. On the second terminal pointing to `$GOPATH/src/github.com/gardener`,\n    - Clone the [latest MCM code](https://github.com/gardener/machine-controller-manager)\n        ```bash\n        git clone git@github.com:gardener/machine-controller-manager.git\n        ```\n    - Navigate to the newly created directory.\n        ```bash\n        cd machine-controller-manager\n        ```\n    - Deploy the required CRDs from the machine-controller-manager repo,\n        ```bash\n        kubectl apply -f kubernetes/crds.yaml\n        ```\n    - Run the machine-controller-manager in the `cmi-client` branch\n        ```bash\n        make start\n        ```\n4. On the third terminal pointing to `$GOPATH/src/github.com/gardener/machine-controller-manager-provider-ironcore`\n    - Fill in the object files given below and deploy them as described below.\n    - Deploy the `machine-class`\n        ```bash\n        kubectl apply -f kubernetes/machine-class.yaml\n        ```\n    - Deploy the `kubernetes secret` if required.\n        ```bash\n        kubectl apply -f kubernetes/secret.yaml\n        ```\n    - Deploy the `machine` object and make sure it joins the cluster successfully.\n        ```bash\n        kubectl apply -f kubernetes/machine.yaml\n        ```\n    - Once machine joins, you can test by deploying a machine-deployment.\n    - Deploy the `machine-deployment` object and make sure it joins the cluster successfully.\n        ```bash\n        kubectl apply -f kubernetes/machine-deployment.yaml\n        ```\n    - Make sure to delete both the `machine` and `machine-deployment` object after use.\n        ```bash\n        kubectl delete -f kubernetes/machine.yaml\n        kubectl delete -f kubernetes/machine-deployment.yaml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironcore-dev%2Fmachine-controller-manager-provider-ironcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fironcore-dev%2Fmachine-controller-manager-provider-ironcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fironcore-dev%2Fmachine-controller-manager-provider-ironcore/lists"}