Skip to content
6 changes: 3 additions & 3 deletions k8s/manifest/cam1/cam1-coredns-configmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ data:
errors
health
hosts {
10.33.71.1 api.ustream.tv
10.11.77.252 api.ustream.tv
fallthrough
}
ready
forward . 192.168.99.1
forward . 192.168.16.5
loop
reload
loadbalance
}
}
4 changes: 2 additions & 2 deletions k8s/manifest/cam1/cam1-coredns-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: coredns
image: coredns/coredns:1.10.1
image: docker.io/coredns/coredns:1.10.1
args:
- -conf
- /etc/coredns/Corefile
Expand All @@ -26,4 +26,4 @@ spec:
volumes:
- name: config-volume
configMap:
name: coredns-custom-config
name: coredns-custom-config
4 changes: 2 additions & 2 deletions k8s/manifest/cam1/cam1-coredns-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ spec:
type: LoadBalancer
selector:
k8s-app: coredns
loadBalancerIP: 10.33.71.11
loadBalancerIP: 10.11.77.253
ports:
- name: dns
port: 53
protocol: UDP
- name: dns-tcp
port: 53
protocol: TCP
protocol: TCP
6 changes: 3 additions & 3 deletions k8s/manifest/cam1/cam1-nginx-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ metadata:
app: cam1-sonycam-nginx
namespace: cam1
annotations:
external-dns.alpha.kubernetes.io/hostname: cam1.kube.technotut.net
external-dns.alpha.kubernetes.io/hostname: cam1.svc.technotut.net
spec:
selector:
app: cam1-sonycam-nginx
type: LoadBalancer
loadBalancerIP: 10.33.71.1
loadBalancerIP: 10.11.77.252
ports:
- name: rtmp
protocol: TCP
Expand All @@ -20,4 +20,4 @@ spec:
- name: http
protocol: TCP
port: 80
targetPort: 80
targetPort: 80
6 changes: 3 additions & 3 deletions k8s/manifest/cam2/cam2-coredns-configmap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ data:
errors
health
hosts {
10.33.71.2 api.ustream.tv
10.11.77.251 api.ustream.tv
fallthrough
}
ready
forward . 192.168.99.1
forward . 192.168.16.5
loop
reload
loadbalance
}
}
4 changes: 2 additions & 2 deletions k8s/manifest/cam2/cam2-coredns-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: coredns
image: coredns/coredns:1.10.1
image: docker.io/coredns/coredns:1.10.1
args:
- -conf
- /etc/coredns/Corefile
Expand All @@ -26,4 +26,4 @@ spec:
volumes:
- name: config-volume
configMap:
name: coredns-custom-config
name: coredns-custom-config
4 changes: 2 additions & 2 deletions k8s/manifest/cam2/cam2-coredns-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ spec:
type: LoadBalancer
selector:
k8s-app: coredns
loadBalancerIP: 10.33.71.12
loadBalancerIP: 10.11.77.254
ports:
- name: dns
port: 53
protocol: UDP
- name: dns-tcp
port: 53
protocol: TCP
protocol: TCP
6 changes: 3 additions & 3 deletions k8s/manifest/cam2/cam2-nginx-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ metadata:
app: cam2-sonycam-nginx
namespace: cam2
annotations:
external-dns.alpha.kubernetes.io/hostname: cam2.kube.technotut.net
external-dns.alpha.kubernetes.io/hostname: cam2.svc.technotut.net
spec:
selector:
app: cam2-sonycam-nginx
type: LoadBalancer
loadBalancerIP: 10.33.71.2
loadBalancerIP: 10.11.77.251
ports:
- name: rtmp
protocol: TCP
Expand All @@ -20,4 +20,4 @@ spec:
- name: http
protocol: TCP
port: 80
targetPort: 80
targetPort: 80
5 changes: 2 additions & 3 deletions k8s/manifest/live/rtmp-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ metadata:
app: rtmp-live-server
namespace: live
annotations:
external-dns.alpha.kubernetes.io/hostname: live.kube.technotut.net
external-dns.alpha.kubernetes.io/hostname: live.svc.technotut.net
spec:
selector:
app: rtmp-live-server
type: LoadBalancer
loadBalancerIP: 10.33.70.0
ports:
- name: rtmp
protocol: TCP
Expand All @@ -20,4 +19,4 @@ spec:
- name: http
protocol: TCP
port: 80
targetPort: 8080
targetPort: 8080