Back Home or Home - DevOps

Overview

The Jenkins kubernate plugin for gui and groovy pipeline: https://github.com/jenkinsci/kubernetes-plugin

  • this has agents that run in kubernates that can auto scale
containerTemplate(
    name: 'kafka',
    image: 'quay.io/jamftest/now-kafka-all-in-one:1.1.0.B',
    resourceRequestMemory: '500Mi',
    ttyEnabled: true,
    ports: [
        portMapping(name: 'zookeeper', containerPort: 2181, hostPort: 2181),
        portMapping(name: 'kafka', containerPort: 9092, hostPort: 9092)
    ],
    command: 'supervisord -n',
    envVars: [
        containerEnvVar(key: 'ADVERTISED_HOST', value: 'localhost')
    ]
),
 
kubernates_jenkins.txt · Last modified: 2019/11/29 09:36 by root
 
RSS - 200 © CrosswireDigitialMedia Ltd