Sha256: 1a0d6b2f996861527c25fd4bf9e7ac2e915c25ef6d6a0d3eaabde7658083dc7e

Contents?: true

Size: 1.34 KB

Versions: 13

Compression:

Stored size: 1.34 KB

Contents

# Build a Kubernetes cluster on the relevant cloud provider service
# (EKS/Fargate, AKS, GKE).
---
appname: smoketest
parameters:
- name: image
  default: "nginx:1.8"
  description: The name/URL of a Docker image to deploy in our sample application. Typically the name of a DockerHub container.
- name: appname
  default: nginx
  description: The name to assign the Kubernetes application we'll deploy.
vpcs:
- name: k8s
container_clusters: 
- name: k8s
  flavor: Kubernetes
  instance_count: 2
  disk_size_gb: 50
  instance_type: Standard_DS1_v2
  kubernetes:
    max_pods: 31
  min_size: 1
  max_size: 2
  dns_prefix: "demo"
  ingress_rules:
  - port: 80
    comment: meep
  vpc:
    vpc_name: k8s
    subnet_pref: all_private
  kubernetes_resources:
  - apiVersion: v1
    kind: Service
    metadata:
      name: <%= appname %>
    spec:
      type: LoadBalancer
      ports:
      - port: 80
        name: http
      selector:
        app: <%= appname %>
  - apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: <%= appname %>
    spec:
      selector:
        matchLabels:
          app: <%= appname %>
      replicas: 2
      template:
        metadata:
          labels:
            app: <%= appname %>
        spec:
          containers:
          - name: <%= appname %>
            image: nginx:1.8
            ports:
            - containerPort: 80

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
cloud-mu-3.4.0 modules/tests/k8s.yaml
cloud-mu-3.3.2 modules/tests/k8s.yaml
cloud-mu-3.3.1 modules/tests/k8s.yaml
cloud-mu-3.3.0 modules/tests/k8s.yaml
cloud-mu-3.2.0 modules/tests/k8s.yaml
cloud-mu-3.1.6 modules/tests/k8s.yaml
cloud-mu-3.1.5 modules/tests/k8s.yaml
cloud-mu-3.1.4 modules/tests/k8s.yaml
cloud-mu-3.1.3 modules/tests/k8s.yaml
cloud-mu-3.1.2 modules/tests/k8s.yaml
cloud-mu-3.1.2beta2 modules/tests/k8s.yaml
cloud-mu-3.1.1 modules/tests/k8s.yaml
cloud-mu-3.1.0 modules/tests/k8s.yaml