Comparing sensitive data, confidential files or internal emails?

Most legal and privacy policies prohibit uploading sensitive data online. Diffchecker Desktop ensures your confidential information never leaves your computer. Work offline and compare documents securely.

Untitled diff

Created Diff never expires
6 removals
63 lines
6 additions
63 lines
apiVersion: v1
apiVersion: v1
kind: Namespace
kind: Namespace
metadata:
metadata:
name: k8s-mariyo-host-1-sk-node-hello-world
name: k8s-mariyo-host-2-sk-k8s


---
---


apiVersion: v1
apiVersion: v1
kind: Service
kind: Service
metadata:
metadata:
namespace: k8s-mariyo-host-1-sk-node-hello-world
namespace: k8s-mariyo-host-2-sk-k8s
name: node-hello-world
name: node-hello-world
labels:
labels:
app: node-hello-world
app: node-hello-world
spec:
spec:
ports:
ports:
- port: 80
- port: 80
targetPort: 8080
targetPort: 8080
selector:
selector:
app: node-hello-world
app: node-hello-world


---
---


apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
kind: Deployment
metadata:
metadata:
namespace: k8s-mariyo-host-1-sk-node-hello-world
namespace: k8s-mariyo-host-2-sk-k8s
name: node-hello-world
name: node-hello-world
spec:
spec:
selector:
selector:
matchLabels:
matchLabels:
app: node-hello-world
app: node-hello-world
strategy:
strategy:
type: Recreate
type: Recreate
template:
template:
metadata:
metadata:
namespace: k8s-mariyo-host-1-sk-node-hello-world
namespace: k8s-mariyo-host-2-sk-k8s
labels:
labels:
app: node-hello-world
app: node-hello-world
spec:
spec:
containers:
containers:
- image: 10.100.100.1:5000/local-node-hello-world:1.5
- image: 10.100.100.1:5000/local-node-hello-world:1.5
name: hello-world
name: hello-world
ports:
ports:
- containerPort: 8080
- containerPort: 8080
name: hello-world
name: hello-world


---
---


apiVersion: extensions/v1beta1
apiVersion: extensions/v1beta1
kind: Ingress
kind: Ingress
metadata:
metadata:
namespace: k8s-mariyo-host-1-sk-node-hello-world
namespace: k8s-mariyo-host-2-sk-k8s
name: node-hello-world
name: node-hello-world
spec:
spec:
rules:
rules:
- host: "node-hello-world.host-1.sk"
- host: "k8s.host-2.sk"
http:
http:
paths:
paths:
- path: /
- path: /
backend:
backend:
serviceName: node-hello-world
serviceName: node-hello-world
servicePort: 80
servicePort: 80