mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-30 21:41:53 +08:00
Once a resource quota is set for a namespace, kube will refuse to schedule any pod without limits set, including build pod. This can be difficult to figure out unless you know where to look, and can be challenging for new openshift/kubernetes users. Setting a default limit would, at least, avoid the non-schedulable issue.
16 lines
457 B
YAML
16 lines
457 B
YAML
---
|
|
- name: Print list of Communishift Projects
|
|
ansible.builtin.debug:
|
|
msg: "{{ item }}"
|
|
with_items: "{{ communishift_projects }}"
|
|
run_once: true
|
|
|
|
- include_tasks: create-namespace.yml
|
|
- include_tasks: create-group.yml
|
|
- include_tasks: create-efs.yml
|
|
- include_tasks: create-efs-secret.yml
|
|
- include_tasks: create-role.yml
|
|
- include_tasks: create-role-binding.yml
|
|
- include_tasks: create-resource-quota.yml
|
|
- include_tasks: create-limit-range.yml
|