X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=ta%2Fcloudtaf.git;a=blobdiff_plain;f=testcases%2Fkube-service%2Fservice.yaml;fp=testcases%2Fkube-service%2Fservice.yaml;h=93941edd4a94d7d7a1dfa5ad9fa7572f99b60d5e;hp=0000000000000000000000000000000000000000;hb=820803ba12a3c6da8ada154cbdc0272c2a8e927e;hpb=0b540eaf6754141684f20c7105f2e9a8e992e0b5 diff --git a/testcases/kube-service/service.yaml b/testcases/kube-service/service.yaml new file mode 100755 index 0000000..93941ed --- /dev/null +++ b/testcases/kube-service/service.yaml @@ -0,0 +1,25 @@ +# Copyright 2019 AT&T +# +# Licensed 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: + name: my-service +spec: + type: NodePort + ports: + - targetPort: 80 + port: 80 + selector: + name: mypod