{"id":19736408,"url":"https://github.com/erda-project/erda-operator","last_synced_at":"2025-04-30T04:32:05.120Z","repository":{"id":38150222,"uuid":"388343752","full_name":"erda-project/erda-operator","owner":"erda-project","description":"Erda operator creates and manages Erda platform running in Kubernetes.","archived":false,"fork":false,"pushed_at":"2024-09-12T01:30:04.000Z","size":15862,"stargazers_count":6,"open_issues_count":0,"forks_count":13,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-09-12T11:26:46.584Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/erda-project.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":"2021-07-22T05:53:12.000Z","updated_at":"2023-09-14T15:35:41.000Z","dependencies_parsed_at":"2024-06-19T03:50:51.249Z","dependency_job_id":"c74a62b5-ffe0-46cc-8758-9e1427c573ac","html_url":"https://github.com/erda-project/erda-operator","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erda-project%2Ferda-operator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erda-project%2Ferda-operator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erda-project%2Ferda-operator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erda-project%2Ferda-operator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erda-project","download_url":"https://codeload.github.com/erda-project/erda-operator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224197973,"owners_count":17271999,"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":[],"created_at":"2024-11-12T01:07:04.063Z","updated_at":"2024-11-12T01:07:04.604Z","avatar_url":"https://github.com/erda-project.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Erda-Operator\n\n## Introduction\n\nErda-Operator is a Kubernetes operator developed by [Erda Team](https://github.com/erda-project/erda). It helps users who know the Kubernetes less easily to deploy an application and service on the Kubernetes cluster with Erda YAML.\n\n\n\n## Quickly Started\n\n- Install the erda-operator on your Kubernetes cluster, please refer to the [Installation](#installation)\n\n- Write the following sample to the `sample-test.yaml` file on your Kubernetes cluster\n\n  ```yaml\n  # an nginx sample\n  apiVersion: core.erda.cloud/v1beta1\n  kind: Erda\n  metadata:\n    name: sample-test\n    namespace: erda-system\n  spec:\n    applications:\n    - name: erda\n      components:\n      - name: erda-nginx-sample\n        labels:\n          app: \"nginx\"\n        annotations:\n          nginx-app: \"this is an nginx app\"\n        envs:\n        # if you have the env value which starts and ends with the '_' symbol,\n        # it will be rewritten the key's value between the '_', \n        # e.g.\n        # the test's value '1234' will be rewritten to '5678'\n        - name: _test_\n          value: \"5678\"\n        - name: test\n          value: \"1234\"\n        # workload indicated the deploy type of your application\n        # support Stateful,Stateless and PerNode, deafult is Stateless\n        # Stateful indicated the stateful service\n        # Stateless indicated the stateless service\n        # PerNode indicated the daemon service\n        workload: Stateless\n        healthCheck:\n          duration: 100\n          execCheck:\n            command:\n              - \"ls\"\n        replicas: 1\n        imageInfo:\n          image: nginx:1.14.2\n          pullPolicy: IfNotPresent\n        resources:\n          limits:\n            cpu: 200m\n            memory: 256Mi\n          requests:\n            cpu: 100m\n            memory: 128Mi\n        # if network not null, the Serivce of Kubertnetes will be created\n        # the first serviceDiscovery will be set the service default port and it will be written in env\n        # e.g.\n        # SLEF_ADDR: nginx-sample.default.svc.cluster.local:80\n        # if the domain is set, the ingress will be created,\n        # and the ingress will be written in environment variable\n        # e.g.\n        # NGINX_SAMPLE_PUBLIC_ADDR: nginx-sample.erda.cloud\n        network:\n          serviceDiscovery:\n            - port: 80\n              protocol: TCP\n              domain: erda-nginx-sample.erda.cloud\n  ```\n\n- Create the erda application on Kubernetes with command line:\n\n  \u003e kubectl apply -f ./sample-test.yaml\n\n- Watch the erda status with command line:\n\n  \u003e kubectl get erda -n erda-system\n\n- Watch the pod status with command line:\n\n  \u003e kubectl get pods -n Erda-system\n\n\n\n## Installation\n\n**TBD**\n\n\n\n# Documentation\n\n- Introduce [structure of the erda](./docs/structure_v1beta1.md)\n- Introduce the feature of erda-operator\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferda-project%2Ferda-operator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferda-project%2Ferda-operator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferda-project%2Ferda-operator/lists"}