kubernetes-handbook/manifests/linkerd/jenkins.yml

34 lines
558 B
YAML
Raw Normal View History

2017-08-01 21:20:16 +08:00
---
apiVersion: v1
kind: ReplicationController
metadata:
name: jenkins
spec:
replicas: 1
selector:
app: jenkins
template:
metadata:
labels:
app: jenkins
spec:
dnsPolicy: ClusterFirst
containers:
- name: jenkins
2018-05-04 19:48:54 +08:00
image: harbor-001.jimmysong.io/library/buoyantio-jenkins-plus:2.60.1
2017-08-01 21:20:16 +08:00
ports:
- name: http
containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
name: jenkins
spec:
selector:
app: jenkins
ports:
- name: http
port: 80
targetPort: 8080