kubernetes-handbook/manifests/linkerd/jenkins.yml

34 lines
558 B
YAML

---
apiVersion: v1
kind: ReplicationController
metadata:
name: jenkins
spec:
replicas: 1
selector:
app: jenkins
template:
metadata:
labels:
app: jenkins
spec:
dnsPolicy: ClusterFirst
containers:
- name: jenkins
image: harbor-001.jimmysong.io/library/buoyantio-jenkins-plus:2.60.1
ports:
- name: http
containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
name: jenkins
spec:
selector:
app: jenkins
ports:
- name: http
port: 80
targetPort: 8080