Coder Social home page Coder Social logo

concourse-kubernetes-resource's Introduction

Kubernetes Resource

Installing

resource_types:
- name: kubernetes
  type: docker-image
  source:
    repository: jcderr/concourse-kubernetes-resource
resources:
- name: kubernetes
  type: kubernetes
  source:
    cluster_url: https://hostname:port
    namespace: default
    cluster_ca: _base64 encoded CA pem_
    admin_key: _base64 encoded key pem_
    admin_cert: _base64 encoded certificate_
    resource_type: deployment
    resource_name: some_pod_name
    container_name: some_container

Source Configuration

  • cluster_url: Required. URL to Kubernetes Master API service
  • namespace: Required. Kubernetes namespace.
  • cluster_ca: Optional. Base64 encoded PEM. Required if cluster_url is https.
  • admin_key: Optional. Base64 encoded PEM. Required if cluster_url is https.
  • admin_cert: Optional. Base64 encoded PEM. Required if cluster_url is https.
  • resource_type: Required. Resource type to operate upon (valid values: deployment, replicationcontroller, job).
  • resource_name: Required. Resource name to operate upon.
  • container_name: Optional. For multi-container pods, specify the name of the container being updated. (Default: resource_name)

out: Begins Kubernetes Deploy Process

Applies a kubectl action.

Parameters

  • image_name: Required. Path to file containing docker image name.
  • image_tag: Required. Path to file container docker image tag.

Example

Out

---
resources:
- name: k8s
  type: kubernetes
  source:
    cluster_url: https://kube-master.domain.example
    namespace: alpha
    resource_type: deployment
    resource_name: myapp
    container_name: mycontainer
    cluster_ca: _base64 encoded CA pem_
    admin_key: _base64 encoded key pem_
    admin_cert: _base64 encoded certificate pem_
---
- put: k8s
  params:
    image_name: docker/repository
    image_tag: docker/tag

concourse-kubernetes-resource's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.