You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Wilfred Spiegelenburg (Jira)" <ji...@apache.org> on 2023/03/06 01:13:00 UTC
[jira] [Commented] (YUNIKORN-1620) Adding a document listing the k8s workloads supported by Yunikorn
[ https://issues.apache.org/jira/browse/YUNIKORN-1620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17696644#comment-17696644 ]
Wilfred Spiegelenburg commented on YUNIKORN-1620:
-------------------------------------------------
We had made a start with that on this page: [https://yunikorn.apache.org/docs/next/user_guide/workloads/workload_overview]
That could be extended to show more examples. Even a simple {{Job}} using a gang definition as we use in multiple places:
{code:java}
apiVersion: batch/v1
kind: Job
metadata:
name: gang-scheduling-job-example
spec:
completions: 1
parallelism: 10
template:
metadata:
labels:
app: sleep
applicationId: "gang-1"
annotations:
yunikorn.apache.org/task-group-name: task-group-example
yunikorn.apache.org/task-groups: |-
[{
"name": "task-group-example",
"minMember": 10,
"minResource": {
"cpu": "100m",
"memory": "50M"
},
"nodeSelector": {},
"tolerations": [],
"affinity": {}
}]
spec:
restartPolicy: Never
containers:
- name: sleep30
image: "alpine:latest"
command: ["sleep", "30"]
resources:
requests:
cpu: "100m"
memory: "50M"{code}
> Adding a document listing the k8s workloads supported by Yunikorn
> -----------------------------------------------------------------
>
> Key: YUNIKORN-1620
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1620
> Project: Apache YuniKorn
> Issue Type: Task
> Components: website
> Reporter: Chen Yu Teng
> Assignee: Chen Yu Teng
> Priority: Minor
>
> Requirement:
> Adding a document named "K8s workloads" in workload documents.
> This document describes supported k8s workloads and examples of them.
> Background:
> Most examples of the k8s workload in yunikorn website is the pod.
> Actually, yunikorn also support other k8s workloads such as the job, the statefulSet and the daemonset.
> The ability of Yunikorn to schedule these k8s workloads is validated in the [e2e test]([https://github.com/apache/yunikorn-k8shim/tree/master/test/e2e/admission_controller]).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org