{"id":14987862,"url":"https://github.com/apache/yunikorn-web","last_synced_at":"2025-04-08T10:16:00.244Z","repository":{"id":37078754,"uuid":"191787181","full_name":"apache/yunikorn-web","owner":"apache","description":"Apache YuniKorn Web UI","archived":false,"fork":false,"pushed_at":"2025-03-18T01:28:28.000Z","size":1973,"stargazers_count":33,"open_issues_count":3,"forks_count":67,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-04-01T08:44:23.061Z","etag":null,"topics":["angular","apache-yarn","kubernetes","universal-resource-scheduler","yunikorn"],"latest_commit_sha":null,"homepage":"https://yunikorn.apache.org/","language":"TypeScript","has_issues":false,"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/apache.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-13T15:18:49.000Z","updated_at":"2025-03-31T17:38:19.000Z","dependencies_parsed_at":"2023-02-18T16:32:07.231Z","dependency_job_id":"843f7c82-a1c5-4b01-90ac-354f929e25b4","html_url":"https://github.com/apache/yunikorn-web","commit_stats":{"total_commits":208,"total_committers":46,"mean_commits":4.521739130434782,"dds":0.8653846153846154,"last_synced_commit":"602ca5ee65081d27b54a3f0b004194b0598f7567"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fyunikorn-web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fyunikorn-web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fyunikorn-web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apache%2Fyunikorn-web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apache","download_url":"https://codeload.github.com/apache/yunikorn-web/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247714791,"owners_count":20983944,"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":["angular","apache-yarn","kubernetes","universal-resource-scheduler","yunikorn"],"created_at":"2024-09-24T14:15:35.730Z","updated_at":"2025-04-08T10:16:00.224Z","avatar_url":"https://github.com/apache.png","language":"TypeScript","readme":"\u003c!--\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license agreements.  See the NOTICE file\n * distributed with this work for additional information\n * regarding copyright ownership.  The ASF licenses this file\n * to you under the Apache License, Version 2.0 (the\n * \"License\"); you may not use this file except in compliance\n * with the License.  You may obtain a copy of the License at\n *\n *     http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n --\u003e\n\n# Yunikorn web UI\nYuniKorn web provides a web interface on top of the scheduler. It provides insight in the current and historic scheduler status.\nIt depends on `yunikorn-core` which encapsulates all the actual scheduling logic.\n\nFor detailed information on the components and how to build the overall scheduler please see the [yunikorn-core](https://github.com/apache/yunikorn-core).\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 13.3.0.\n\n## Development Environment setup\n### Dependencies\nThe project requires a number of external tools to be installed before the build and development:\n- [Node.js](https://nodejs.org/en/)\n- [Angular CLI](https://github.com/angular/angular-cli)\n- [Karma](https://karma-runner.github.io)\n- [pnpm](https://www.npmjs.com/package/pnpm)\n- [json-server](https://www.npmjs.com/package/json-server)\n\nTo manage our node packages, we've chosen pnpm. Simply execute the command `pnpm install` to set up all necessary dependencies. This single step ensures that your environment is fully prepared with all the required packages.\n\n### Development server\n\nRun `make start-dev` for a development server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.\n\n## Build\n\nRun `make build` to build the project. The build artifacts will be stored in the `dist/` directory. Use `make build-prod` for a production build.\nProduction builds will add the `--prod` flag to the angular build.\n\n### Docker image build\nImage builds are geared towards a production build and will always build with the `--prod` flag set.\n\nRun `make image` to build the docker image `apache/yunikorn:web-latest`. \nRun `make run` to build the image and deploy the container from the docker image `apache/yunikorn:web-latest`.\n\nYou can set `REGISTRY`, `VERSION` and `DOCKER_ARCH` in the commandline to build docker image with a specified version, registry and host architecture. For example,\n```\nmake image REGISTRY=apache VERSION=latest DOCKER_ARCH=amd64\n```\nThis command will build binary with version `web-latest` and the docker full image tag is `apache/yunikorn:web-amd64-latest`.\n\nThe Makefile is smart enough to detect your host architecture but it will tag the image name.\n\n### Running tests\n\nAll tests can be executed via `make test`. It will first build the project and then execute the unit tests followed by the end to end tests.  \nIf you want to run the unit tests separately, run `pnpm test` to execute them via [Karma](https://karma-runner.github.io). If you want to run the unit tests with code coverage, run `pnpm test:coverage`.\n\n## Local development\nBeside the simple all in way to start the development server via make you can also start a development environment manually. \n\nThe application depends on [json-server](https://www.npmjs.com/package/json-server) for data. Install json-server locally. Run `pnpm start:srv` to start json-server for local development.\nRun `pnpm start` to start the angular development server and navigate to `http://localhost:4200/`.\n\nAfter updating the context in the `json-db.json` or `json-route.json`, checking the json server is available  by running `make json-server`.\n\n## Further help\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md).\n\n## Code scaffolding\nRun `ng generate component component-name` to generate a new component.\n\nYou can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Port configurations\nThe default port used for the web server is port 9889.\n\n## How do I contribute code?\nSee how to contribute code from [this guide](https://yunikorn.apache.org/community/how_to_contribute).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fyunikorn-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapache%2Fyunikorn-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapache%2Fyunikorn-web/lists"}