From b8a4a01fa1f6149c8617c914a721296a71037736 Mon Sep 17 00:00:00 2001 From: HuangTing-Yao Date: Thu, 14 May 2020 13:57:46 +1000 Subject: [PATCH] [YUNIKORN-125] missing license headers (#115) Add license headers to missing files. Extend the list of extensions to check for a license. Fixes: #115 --- .asf.yaml | 25 +++++++++++++++++++ .golangci.yml | 17 +++++++++++++ Makefile | 2 +- README.md | 18 +++++++++++++ conf/queues.yaml | 17 +++++++++++++ .../admission-controllers/scheduler/README.md | 18 +++++++++++++ deployments/examples/README.md | 18 +++++++++++++ .../admission-controller-tests/nginx-yk.yaml | 17 +++++++++++++ .../admission-controller-tests/nginx.yaml | 17 +++++++++++++ .../examples/namespace/namespaces.yaml | 17 +++++++++++++ deployments/examples/namespace/queues.yaml | 17 +++++++++++++ .../examples/namespace/sleeppod_dev.yaml | 17 +++++++++++++ .../examples/namespace/sleeppod_prod.yaml | 17 +++++++++++++ deployments/examples/nginx/nginx.yaml | 17 +++++++++++++ .../predicates/node-affinity-example.yaml | 17 +++++++++++++ .../predicates/pod-affinity-example.yaml | 17 +++++++++++++ .../predicates/pod-anti-affinity-example.yaml | 17 +++++++++++++ .../predicates/pod-anti-affinity-p0.yaml | 17 +++++++++++++ .../predicates/pod-anti-affinity-p1.yaml | 17 +++++++++++++ .../predicates/pod-nodeselector-example.yaml | 17 +++++++++++++ .../examples/sleep/batch-sleep-job.yaml | 17 +++++++++++++ deployments/examples/sleep/sleeppods.yaml | 17 +++++++++++++ deployments/examples/spark24/README.md | 18 +++++++++++++ deployments/examples/spark30/driver.yaml | 17 +++++++++++++ deployments/examples/spark30/executor.yaml | 17 +++++++++++++ deployments/examples/volume/ebs-pv.yaml | 17 +++++++++++++ deployments/examples/volume/local-pv.yaml | 17 +++++++++++++ deployments/examples/volume/nfs-server.yaml | 17 +++++++++++++ .../examples/volume/pod-ebs-direct.yaml | 17 +++++++++++++ .../examples/volume/pod-ebs-dynamic.yaml | 17 +++++++++++++ .../examples/volume/pod-ebs-exist.yaml | 17 +++++++++++++ deployments/examples/volume/pod-local.yaml | 17 +++++++++++++ deployments/examples/volume/pod-nfs.yaml | 17 +++++++++++++ .../examples/volume/storage-class.yaml | 17 +++++++++++++ deployments/scheduler/README.md | 18 +++++++++++++ deployments/scheduler/prometheus.yml | 17 +++++++++++++ deployments/scheduler/scheduler-load.yaml | 17 +++++++++++++ deployments/scheduler/scheduler.yaml | 17 +++++++++++++ deployments/scheduler/yunikorn-rbac.yaml | 17 +++++++++++++ docs/design/design-index.md | 18 +++++++++++++ docs/design/predicates.md | 18 +++++++++++++ docs/how-to-contribute.md | 18 +++++++++++++ go.mod | 18 +++++++++++++ helm-charts/yunikorn/Chart.yaml | 17 +++++++++++++ helm-charts/yunikorn/templates/cleanup.yaml | 17 +++++++++++++ helm-charts/yunikorn/templates/configmap.yaml | 17 +++++++++++++ .../yunikorn/templates/deployment.yaml | 17 +++++++++++++ helm-charts/yunikorn/templates/rbac.yaml | 17 +++++++++++++ helm-charts/yunikorn/templates/service.yaml | 17 +++++++++++++ helm-charts/yunikorn/values.yaml | 17 +++++++++++++ landmark/docker_images.yaml | 17 +++++++++++++ 51 files changed, 868 insertions(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index dbecc8f28..0481d066d 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -1,4 +1,29 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + github: + description: "Apache YuniKorn K8shim" + homepage: https://yunikorn.apache.org/ + labels: + - yunikorn + - go + - universal-resource-scheduler + - apache-yarn + - kubernetes enabled_merge_buttons: squash: true merge: false diff --git a/.golangci.yml b/.golangci.yml index bbef2ab31..a9f9d1e11 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # options for analysis running run: issues-exit-code: 1 diff --git a/Makefile b/Makefile index 79f593ea3..7085739e9 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,7 @@ lint: .PHONY: license-check license-check: @echo "checking license header" - @licRes=$$(grep -Lr --include=*.{go,sh} "Licensed to the Apache Software Foundation" .) ; \ + @licRes=$$(grep -Lr --include=*.{go,sh,md,yaml,yml,mod} "Licensed to the Apache Software Foundation" .) ; \ if [ -n "$${licRes}" ]; then \ echo "following files have incorrect license header:\n$${licRes}" ; \ exit 1; \ diff --git a/README.md b/README.md index 6b9f3e2c1..804535b59 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,21 @@ + + # YuniKorn Scheduler for Kubernetes (yunikorn-k8shim) [![Build Status](https://travis-ci.org/apache/incubator-yunikorn-k8shim.svg?branch=master)](https://travis-ci.org/apache/incubator-yunikorn-k8shim) diff --git a/conf/queues.yaml b/conf/queues.yaml index 7b5323cf4..2fd1213a3 100644 --- a/conf/queues.yaml +++ b/conf/queues.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + partitions: - name: default placementrules: diff --git a/deployments/admission-controllers/scheduler/README.md b/deployments/admission-controllers/scheduler/README.md index 490548433..fa96ce566 100644 --- a/deployments/admission-controllers/scheduler/README.md +++ b/deployments/admission-controllers/scheduler/README.md @@ -1,3 +1,21 @@ + + # Admission Controller to mutate and validate on-the-fly This directory contains resources to create admission controller web-hooks: diff --git a/deployments/examples/README.md b/deployments/examples/README.md index 34db76780..6e0622c84 100644 --- a/deployments/examples/README.md +++ b/deployments/examples/README.md @@ -1,3 +1,21 @@ + + # Examples Explore sample yaml files under this package to submit applications and get them scheduled by yunikorn. diff --git a/deployments/examples/admission-controller-tests/nginx-yk.yaml b/deployments/examples/admission-controller-tests/nginx-yk.yaml index 4aa410b9f..dac212330 100644 --- a/deployments/examples/admission-controller-tests/nginx-yk.yaml +++ b/deployments/examples/admission-controller-tests/nginx-yk.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # This yaml sets the schedulerName to "yunikorn", it also has # the required info such as queue and applicationId defined. Even # if the admission controller is running, we don't expect this info diff --git a/deployments/examples/admission-controller-tests/nginx.yaml b/deployments/examples/admission-controller-tests/nginx.yaml index e417fa1ab..26bd086e4 100644 --- a/deployments/examples/admission-controller-tests/nginx.yaml +++ b/deployments/examples/admission-controller-tests/nginx.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # This yaml doesn't have any specify info for yunikorn, it # depends on the admission-controller to mutate the pod's # spec on the fly if it wants to be scheduled by yunikorn. diff --git a/deployments/examples/namespace/namespaces.yaml b/deployments/examples/namespace/namespaces.yaml index 0ed1f63a6..e2abafc40 100644 --- a/deployments/examples/namespace/namespaces.yaml +++ b/deployments/examples/namespace/namespaces.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Create the two namespaces that will be used in the example apiVersion: v1 kind: Namespace diff --git a/deployments/examples/namespace/queues.yaml b/deployments/examples/namespace/queues.yaml index fee49941e..8f2c190c1 100644 --- a/deployments/examples/namespace/queues.yaml +++ b/deployments/examples/namespace/queues.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + partitions: - name: default queues: diff --git a/deployments/examples/namespace/sleeppod_dev.yaml b/deployments/examples/namespace/sleeppod_dev.yaml index 9ef8b3534..31fa7d04f 100644 --- a/deployments/examples/namespace/sleeppod_dev.yaml +++ b/deployments/examples/namespace/sleeppod_dev.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: Pod metadata: diff --git a/deployments/examples/namespace/sleeppod_prod.yaml b/deployments/examples/namespace/sleeppod_prod.yaml index fdcc0e6f9..acbb22791 100644 --- a/deployments/examples/namespace/sleeppod_prod.yaml +++ b/deployments/examples/namespace/sleeppod_prod.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: Pod metadata: diff --git a/deployments/examples/nginx/nginx.yaml b/deployments/examples/nginx/nginx.yaml index 7e1190f20..90b81443c 100644 --- a/deployments/examples/nginx/nginx.yaml +++ b/deployments/examples/nginx/nginx.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: extensions/v1beta1 kind: Deployment metadata: diff --git a/deployments/examples/predicates/node-affinity-example.yaml b/deployments/examples/predicates/node-affinity-example.yaml index e1409c7a4..f5707fa83 100644 --- a/deployments/examples/predicates/node-affinity-example.yaml +++ b/deployments/examples/predicates/node-affinity-example.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: Pod metadata: diff --git a/deployments/examples/predicates/pod-affinity-example.yaml b/deployments/examples/predicates/pod-affinity-example.yaml index 2a084da08..0b30c3348 100644 --- a/deployments/examples/predicates/pod-affinity-example.yaml +++ b/deployments/examples/predicates/pod-affinity-example.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: Pod metadata: diff --git a/deployments/examples/predicates/pod-anti-affinity-example.yaml b/deployments/examples/predicates/pod-anti-affinity-example.yaml index 0b48bbe90..9a7e0b4c0 100644 --- a/deployments/examples/predicates/pod-anti-affinity-example.yaml +++ b/deployments/examples/predicates/pod-anti-affinity-example.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # this deployment ensures 2 pods cannot be co-located together on same node. # if deploy this yaml on 1 node cluster, expecting 1 pod to be started and the other should be pending, # because 1 node(s) didn't match pod affinity/anti-affinity, 1 node(s) didn't satisfy existing pods anti-affinity rules. diff --git a/deployments/examples/predicates/pod-anti-affinity-p0.yaml b/deployments/examples/predicates/pod-anti-affinity-p0.yaml index 1c4ca1238..7591f4c22 100644 --- a/deployments/examples/predicates/pod-anti-affinity-p0.yaml +++ b/deployments/examples/predicates/pod-anti-affinity-p0.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: Pod metadata: diff --git a/deployments/examples/predicates/pod-anti-affinity-p1.yaml b/deployments/examples/predicates/pod-anti-affinity-p1.yaml index ec7d5b385..5bc9eab02 100644 --- a/deployments/examples/predicates/pod-anti-affinity-p1.yaml +++ b/deployments/examples/predicates/pod-anti-affinity-p1.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: Pod metadata: diff --git a/deployments/examples/predicates/pod-nodeselector-example.yaml b/deployments/examples/predicates/pod-nodeselector-example.yaml index 55eec4952..e5abf643f 100644 --- a/deployments/examples/predicates/pod-nodeselector-example.yaml +++ b/deployments/examples/predicates/pod-nodeselector-example.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: Pod metadata: diff --git a/deployments/examples/sleep/batch-sleep-job.yaml b/deployments/examples/sleep/batch-sleep-job.yaml index 2eff316ba..ab92930a6 100644 --- a/deployments/examples/sleep/batch-sleep-job.yaml +++ b/deployments/examples/sleep/batch-sleep-job.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # launch a job with 50 pods, each pod sleeps 300 seconds. apiVersion: batch/v1 kind: Job diff --git a/deployments/examples/sleep/sleeppods.yaml b/deployments/examples/sleep/sleeppods.yaml index 61fcea90d..264c41ba7 100644 --- a/deployments/examples/sleep/sleeppods.yaml +++ b/deployments/examples/sleep/sleeppods.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # launch 3 pods in root.sandbox queue, each pod sleeps 30 seconds. apiVersion: v1 kind: Pod diff --git a/deployments/examples/spark24/README.md b/deployments/examples/spark24/README.md index 8bfbf42e7..1cf93cb6c 100644 --- a/deployments/examples/spark24/README.md +++ b/deployments/examples/spark24/README.md @@ -1,3 +1,21 @@ + + # Spark on K8s with YuniKorn diff --git a/deployments/examples/spark30/driver.yaml b/deployments/examples/spark30/driver.yaml index 624e3e0af..98f4d6822 100644 --- a/deployments/examples/spark30/driver.yaml +++ b/deployments/examples/spark30/driver.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: Pod metadata: diff --git a/deployments/examples/spark30/executor.yaml b/deployments/examples/spark30/executor.yaml index c059ba263..ac86abfff 100644 --- a/deployments/examples/spark30/executor.yaml +++ b/deployments/examples/spark30/executor.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: Pod metadata: diff --git a/deployments/examples/volume/ebs-pv.yaml b/deployments/examples/volume/ebs-pv.yaml index b0c581600..94a82076d 100644 --- a/deployments/examples/volume/ebs-pv.yaml +++ b/deployments/examples/volume/ebs-pv.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # PersistentVolume for AWS EBS storage. # No storage class, no default storage class defined # must update the volume ID to point to an available volume diff --git a/deployments/examples/volume/local-pv.yaml b/deployments/examples/volume/local-pv.yaml index 601dc53cd..7c75f938a 100644 --- a/deployments/examples/volume/local-pv.yaml +++ b/deployments/examples/volume/local-pv.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # PersistentVolume for local mounted directory. # Development and testing on a single-node cluster only. kind: PersistentVolume diff --git a/deployments/examples/volume/nfs-server.yaml b/deployments/examples/volume/nfs-server.yaml index 1f3247678..3d9ca183d 100644 --- a/deployments/examples/volume/nfs-server.yaml +++ b/deployments/examples/volume/nfs-server.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Note - an NFS server isn't really a Kubernetes concept. # We're just creating it in Kubernetes for illustration and convenience. # In practice it might be run in some other system. diff --git a/deployments/examples/volume/pod-ebs-direct.yaml b/deployments/examples/volume/pod-ebs-direct.yaml index 34544ce3d..07d754653 100644 --- a/deployments/examples/volume/pod-ebs-direct.yaml +++ b/deployments/examples/volume/pod-ebs-direct.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Create a pod that reads and writes to the EBS mounted volume. kind: Pod apiVersion: v1 diff --git a/deployments/examples/volume/pod-ebs-dynamic.yaml b/deployments/examples/volume/pod-ebs-dynamic.yaml index 245bd92d6..c4304d892 100644 --- a/deployments/examples/volume/pod-ebs-dynamic.yaml +++ b/deployments/examples/volume/pod-ebs-dynamic.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Claim an EBS PersistentVolume. # Dynamic provisioning through the storageClassName # see: https://kubernetes.io/docs/concepts/storage/dynamic-provisioning/ diff --git a/deployments/examples/volume/pod-ebs-exist.yaml b/deployments/examples/volume/pod-ebs-exist.yaml index 8eabdd611..ed995960a 100644 --- a/deployments/examples/volume/pod-ebs-exist.yaml +++ b/deployments/examples/volume/pod-ebs-exist.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Claim an EBS PersistentVolume. kind: PersistentVolumeClaim apiVersion: v1 diff --git a/deployments/examples/volume/pod-local.yaml b/deployments/examples/volume/pod-local.yaml index 6b5c2159f..a0df5f821 100644 --- a/deployments/examples/volume/pod-local.yaml +++ b/deployments/examples/volume/pod-local.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Create a pod that reads and writes to the local mounted volume. kind: Pod diff --git a/deployments/examples/volume/pod-nfs.yaml b/deployments/examples/volume/pod-nfs.yaml index 23edb34e4..b881cd6ad 100644 --- a/deployments/examples/volume/pod-nfs.yaml +++ b/deployments/examples/volume/pod-nfs.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Create a pod that reads and writes to the NFS server via an NFS volume. kind: Pod diff --git a/deployments/examples/volume/storage-class.yaml b/deployments/examples/volume/storage-class.yaml index 1a1aba3cf..2c9f2b134 100644 --- a/deployments/examples/volume/storage-class.yaml +++ b/deployments/examples/volume/storage-class.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # Storage class for EBS volume # bind mode "WaitForFirstConsumer" for delayed binds # reclaim policy "Retain" to keep the auto created volume diff --git a/deployments/scheduler/README.md b/deployments/scheduler/README.md index 40d3b896a..b0f54d193 100644 --- a/deployments/scheduler/README.md +++ b/deployments/scheduler/README.md @@ -1,3 +1,21 @@ + + # Deployment examples ## scheduler diff --git a/deployments/scheduler/prometheus.yml b/deployments/scheduler/prometheus.yml index e9001d224..01f1ba2c1 100644 --- a/deployments/scheduler/prometheus.yml +++ b/deployments/scheduler/prometheus.yml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # this is a sample Prometheus configuration file used to collect scheduler metrics global: scrape_interval: 3s diff --git a/deployments/scheduler/scheduler-load.yaml b/deployments/scheduler/scheduler-load.yaml index aafe6b68c..d747a44bd 100644 --- a/deployments/scheduler/scheduler-load.yaml +++ b/deployments/scheduler/scheduler-load.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: extensions/v1beta1 kind: Deployment metadata: diff --git a/deployments/scheduler/scheduler.yaml b/deployments/scheduler/scheduler.yaml index fe4a2ef03..1d4a5c465 100644 --- a/deployments/scheduler/scheduler.yaml +++ b/deployments/scheduler/scheduler.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: extensions/v1beta1 kind: Deployment metadata: diff --git a/deployments/scheduler/yunikorn-rbac.yaml b/deployments/scheduler/yunikorn-rbac.yaml index adab51647..6b1bd23a0 100644 --- a/deployments/scheduler/yunikorn-rbac.yaml +++ b/deployments/scheduler/yunikorn-rbac.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: rbac.authorization.k8s.io/v1beta1 kind: ClusterRoleBinding metadata: diff --git a/docs/design/design-index.md b/docs/design/design-index.md index ca89e87c5..9b54c8b0b 100644 --- a/docs/design/design-index.md +++ b/docs/design/design-index.md @@ -1,3 +1,21 @@ + + # Design documents The documents describing the design for yunikorn-k8s-shim specific implementations. diff --git a/docs/design/predicates.md b/docs/design/predicates.md index edf365f55..b65b9fa4e 100644 --- a/docs/design/predicates.md +++ b/docs/design/predicates.md @@ -1,3 +1,21 @@ + + # Predicates Support ## Design diff --git a/docs/how-to-contribute.md b/docs/how-to-contribute.md index 81198ea23..e67d22f2c 100644 --- a/docs/how-to-contribute.md +++ b/docs/how-to-contribute.md @@ -1,3 +1,21 @@ + + # How do I contribute code? Yunikorn uses: * JIRA for issue tracking. diff --git a/go.mod b/go.mod index 9c4d3940b..689531639 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,21 @@ +// +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// + module github.com/apache/incubator-yunikorn-k8shim go 1.12 diff --git a/helm-charts/yunikorn/Chart.yaml b/helm-charts/yunikorn/Chart.yaml index 21c3f5335..f934308eb 100644 --- a/helm-charts/yunikorn/Chart.yaml +++ b/helm-charts/yunikorn/Chart.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 appVersion: "0.1.0" description: YuniKorn scheduler for Kubernetes diff --git a/helm-charts/yunikorn/templates/cleanup.yaml b/helm-charts/yunikorn/templates/cleanup.yaml index 74085eff9..539820499 100644 --- a/helm-charts/yunikorn/templates/cleanup.yaml +++ b/helm-charts/yunikorn/templates/cleanup.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: batch/v1 kind: Job metadata: diff --git a/helm-charts/yunikorn/templates/configmap.yaml b/helm-charts/yunikorn/templates/configmap.yaml index b21d68c00..7cb6129b0 100644 --- a/helm-charts/yunikorn/templates/configmap.yaml +++ b/helm-charts/yunikorn/templates/configmap.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: ConfigMap metadata: diff --git a/helm-charts/yunikorn/templates/deployment.yaml b/helm-charts/yunikorn/templates/deployment.yaml index e85d16784..00ff93cb3 100644 --- a/helm-charts/yunikorn/templates/deployment.yaml +++ b/helm-charts/yunikorn/templates/deployment.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: apps/v1beta2 kind: Deployment metadata: diff --git a/helm-charts/yunikorn/templates/rbac.yaml b/helm-charts/yunikorn/templates/rbac.yaml index c119d4aa8..18c42a136 100644 --- a/helm-charts/yunikorn/templates/rbac.yaml +++ b/helm-charts/yunikorn/templates/rbac.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: ServiceAccount metadata: diff --git a/helm-charts/yunikorn/templates/service.yaml b/helm-charts/yunikorn/templates/service.yaml index 1df52f41e..e2c43bcaa 100644 --- a/helm-charts/yunikorn/templates/service.yaml +++ b/helm-charts/yunikorn/templates/service.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + apiVersion: v1 kind: Service metadata: diff --git a/helm-charts/yunikorn/values.yaml b/helm-charts/yunikorn/values.yaml index 921ca579f..257cf1c00 100644 --- a/helm-charts/yunikorn/values.yaml +++ b/helm-charts/yunikorn/values.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # This is a YAML-formatted file. # Declare variables to be passed into your templates. diff --git a/landmark/docker_images.yaml b/landmark/docker_images.yaml index 6b708fb39..f7a5fb54a 100644 --- a/landmark/docker_images.yaml +++ b/landmark/docker_images.yaml @@ -1,3 +1,20 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + docker_images: yunikorn-scheduler-k8s: __registry__/yunikorn-scheduler-k8s yunikorn-scheduler-admission-controller: __registry__/yunikorn-scheduler-admission-controller