This repository has been archived by the owner on Dec 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Intel Service Mesh - MinIO Object Storage - Intel Power Manager (Power Operator) - Platform Aware Scheduling (Telemetry Aware Scheduling + GPU Aware Scheduling) - Intel DLB (Dynamic Load Balancer) New Platforms: - Taylors Falls Reference Design (Intel Xeon-D) Updates/Changes: - Playbooks and profile config files are generated automatically - Profiles list expanded with 'Storage' - RHEL bumped to version 8.5 as base operating system - Version upgrades for key components: DPDK = 21.11 Kubernetes = 1.22 Kubespray = 2.17 KMRA = 1.4 Removed support: - Intel CPU Manager for Kubernetes (CMK) - CentOS (all distro versions) as base operating system Co-authored-by: Ali Shah, Syed Faraz <[email protected]> Co-authored-by: Gherghe, Calin <[email protected]> Co-authored-by: Joel A Gibson <[email protected]> Co-authored-by: Klimowicz, Patryk <[email protected]> Co-authored-by: Konefal, Szymon <[email protected]> Co-authored-by: Krystian M.ynek <[email protected]> Co-authored-by: Li, Jennifer <[email protected]> Co-authored-by: Liu, Mark <[email protected]> Co-authored-by: Lv, Carry <[email protected]> Co-authored-by: Park, Seungweon <[email protected]> Co-authored-by: Pedersen, Michael <[email protected]> Co-authored-by: Prokes, Jiri <[email protected]> Co-authored-by: Puzikov, Dmitrii <[email protected]> Co-authored-by: Rymsza, Monika <[email protected]> Co-authored-by: Weber, Karol <[email protected]>
- Loading branch information
1 parent
3a27e8a
commit 7aedebd
Showing
514 changed files
with
20,869 additions
and
7,770 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
# Contributing to Container Experience Kits | ||
|
||
Anyone is welcome to contribute. | ||
|
||
Please file bugs under github issues. | ||
|
||
Please submit git commits and request PRs for review and inclusion. Titles should be clear and concise | ||
with details provided in commit log explaining the purpose and method. Please include reference to github | ||
issue if applicable. Providing testing details will expedite the review process. | ||
|
||
## Licenses | ||
|
||
The container-experience-kits source is covered under the Apache 2.0 License. | ||
See http://www.apache.org/licenses/ | ||
|
||
Before submitting a patch, ensure there are no licensing issues by following the Developer Certificate of | ||
Origin (DCO) process. | ||
|
||
The DCO is an attestation attached to every contribution. The commit log must have a Signed-off-by line | ||
(-signoff option), which certifies that you wrote it and/or have the right to submit it. The format of the | ||
sign-off message is expected to appear on each commit in the pull request like so: | ||
|
||
``` | ||
Signed-off-by: First Last <[email protected]> | ||
``` | ||
|
||
For additional explanation, see below or at https://developercertificate.org/. | ||
|
||
``` | ||
Developer Certificate of Origin | ||
Version 1.1 | ||
Copyright (C) 2004, 2006 The Linux Foundation and its contributors. | ||
Everyone is permitted to copy and distribute verbatim copies of this | ||
license document, but changing it is not allowed. | ||
Developer's Certificate of Origin 1.1 | ||
By making a contribution to this project, I certify that: | ||
(a) The contribution was created in whole or in part by me and I | ||
have the right to submit it under the open source license | ||
indicated in the file; or | ||
(b) The contribution is based upon previous work that, to the best | ||
of my knowledge, is covered under an appropriate open source | ||
license and I have the right under that license to submit that | ||
work with modifications, whether created in whole or in part | ||
by me, under the same open source license (unless I am | ||
permitted to submit under a different license), as indicated | ||
in the file; or | ||
(c) The contribution was provided directly to me by some other | ||
person who certified (a), (b) or (c) and I have not modified | ||
it. | ||
(d) I understand and agree that this project and the contribution | ||
are public and that a record of the contribution (including all | ||
personal information I submit with it, including my sign-off) is | ||
maintained indefinitely and may be redistributed consistent with | ||
this project or the open source license(s) involved. | ||
``` | ||
|
||
## Releases | ||
|
||
Our primary release mechanism is based on a calendar versioning standard, formatted as YY.MM. | ||
- YY as the last two digits of the year. | ||
- MM as the zero padded month of the year. | ||
|
||
Fixes for issues will most often be rolled into a follow on release. Any exceptions added outside of a release | ||
cycle will be accompanied by a tag update for the current released version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,87 @@ | ||
BMRA_DIRECTORIES_WITH_SHELL_FILES ?= roles/ examples/ playbooks/infra/ playbooks/intel/ | ||
CEK_DIRECTORIES_WITH_SHELL_FILES ?= roles/ examples/ playbooks/infra/ playbooks/intel/ | ||
ARCH ?= 'icx' | ||
PLAYBOOKS_DIRS = playbooks playbooks/infra playbooks/intel | ||
PLAYBOOK_NAMES = access basic full_nfv on_prem regional_dc remote_fp storage | ||
|
||
# set default target available with simple 'make' command | ||
.DEFAULT_GOAL := examples | ||
|
||
.PHONY: shellcheck ansible-lint all-profiles clean clean-playbooks help k8s-profiles vm-profiles | ||
|
||
shellcheck: | ||
find $(BMRA_DIRECTORIES_WITH_SHELL_FILES) -type f \( -name '*.sh' -o -name '*.bash' -o -name '*.ksh' -o -name '*.bashrc' -o -name '*.bash_profile' -o -name '*.bash_login' -o -name '*.bash_logout' \) \ | ||
find $(CEK_DIRECTORIES_WITH_SHELL_FILES) -type f \( -name '*.sh' -o -name '*.bash' -o -name '*.ksh' -o -name '*.bashrc' -o -name '*.bash_profile' -o -name '*.bash_login' -o -name '*.bash_logout' \) \ | ||
| xargs shellcheck | ||
|
||
ansible-lint: | ||
ansible-lint playbooks/* roles/* -c .ansible-lint | ||
|
||
profile ?= '' | ||
bmra-profiles: | ||
python3 profiles/render.py --config profiles/profiles.yml --host profiles/host_vars.j2 --group profiles/group_vars.j2 --inventory profiles/inventory.j2 --output examples -p $(profile) | ||
# make sure PROFILE is set to an 'all_examples' string for 'examples' and empty target | ||
ifeq ($(MAKECMDGOALS), $(filter $(MAKECMDGOALS),examples '')) | ||
override PROFILE = 'all_examples' | ||
endif | ||
|
||
# make sure PROFILE is defined for mode-related targets | ||
ifndef PROFILE | ||
ifeq ($(MAKECMDGOALS), $(filter $(MAKECMDGOALS),k8s-profile vm-profile)) | ||
$(error please specify which profile should be generated, e.g. PROFILE=basic. Run 'make help' for more information.) | ||
endif | ||
endif | ||
|
||
examples: k8s-profile vm-profile | ||
|
||
k8s-profile: clean-playbooks | ||
python3 generate/render.py \ | ||
--config generate/profiles_templates/k8s/profiles.yml \ | ||
--host generate/profiles_templates/common/host_vars.j2 \ | ||
--group generate/profiles_templates/common/group_vars.j2 \ | ||
--inventory generate/profiles_templates/k8s/inventory.j2 \ | ||
--output examples/k8s \ | ||
--mode k8s \ | ||
-p $(PROFILE) \ | ||
-a $(ARCH) | ||
|
||
vm-profile: clean-playbooks | ||
python3 generate/render.py \ | ||
--config generate/profiles_templates/vm/vm_host_profiles.yml \ | ||
--vmsconfig generate/profiles_templates/vm/vms_profiles.yml \ | ||
--host generate/profiles_templates/common/host_vars.j2 \ | ||
--group generate/profiles_templates/common/group_vars.j2 \ | ||
--inventory generate/profiles_templates/vm/inventory.j2 \ | ||
--output examples/vm \ | ||
--mode vm \ | ||
-p $(PROFILE) \ | ||
-a $(ARCH) | ||
|
||
clean: clean-playbooks clean-project-root-dir | ||
|
||
clean-backups: | ||
rm -rf backups | ||
|
||
clean-project-root-dir: | ||
rm -rf examples host_vars group_vars inventory.ini | ||
|
||
clean-playbooks: | ||
for d in $(PLAYBOOKS_DIRS) ; do for n in $(PLAYBOOK_NAMES) ; do rm -f $$d/$$n.yml ; done done | ||
|
||
help: | ||
@echo "Cleaning targets:" | ||
@echo " clean - removes examples directory," | ||
@echo " all host_vars and group_vars dirs," | ||
@echo " inventory files and playbooks" | ||
@echo "" | ||
@echo " clean-backups - clean generated backup files." | ||
@echo "" | ||
@echo "Genertare example profiles:" | ||
@echo " make, examples - generate sample files of all available profiles." | ||
@echo "" | ||
@echo "Generating k8s profile:" | ||
@echo " k8s-profile PROFILE=<profile_name> - generate files required for deployment of specific profile in k8s mode." | ||
@echo "" | ||
@echo "Generating VM profile:" | ||
@echo " vm-profile PROFILE=<profile_name> - generate files required for deployment of specific profile in vm mode." | ||
@echo "" | ||
@echo "For more information about:" | ||
@echo " - profiles generation" | ||
@echo " - supported architectures" | ||
@echo " - available profiles" | ||
@echo "please read the docs/generate_profiles.md file." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.