This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| RESPONSE="Hello, werfer!" | |
| while true; do | |
| printf "HTTP/1.1 200 OK\n\n$RESPONSE\n" | ncat -lp 8000 | |
| done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FROM alpine:3.14 | |
| WORKDIR /app | |
| # Install application dependencies. | |
| RUN apk add --no-cache --update nmap-ncat | |
| # Add the application script for running an echo server to the image | |
| # and set permission to execute. | |
| COPY hello.sh . | |
| RUN chmod +x hello.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| project: werf-first-app | |
| configVersion: 1 | |
| --- | |
| image: app | |
| dockerfile: Dockerfile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ┌ ⛵ image app | |
| │ ┌ Building stage app/dockerfile | |
| │ │ app/dockerfile Sending build context to Docker daemon 4.096kB | |
| │ │ app/dockerfile Step 1/13 : FROM alpine:3.14 | |
| │ │ app/dockerfile ---> 0a97eee8041e | |
| │ │ app/dockerfile Step 2/13 : WORKDIR /app | |
| │ │ app/dockerfile ---> Running in d4c535c0d754 | |
| │ │ app/dockerfile Removing intermediate container d4c535c0d754 | |
| │ │ app/dockerfile ---> 5a2a81813edc | |
| │ │ app/dockerfile Step 3/13 : RUN apk add --no-cache --update nmap-ncat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NAMESPACE NAME READY STATUS RESTARTS AGE | |
| kube-system coredns-78fcd69978-qldbj 1/1 Running 0 14m | |
| kube-system etcd-minikube 1/1 Running 0 14m | |
| kube-system kube-apiserver-minikube 1/1 Running 0 14m | |
| kube-system kube-controller-manager-minikube 1/1 Running 0 14m | |
| kube-system kube-proxy-5hrfd 1/1 Running 0 14m | |
| kube-system kube-scheduler-minikube 1/1 Running 0 14m | |
| kube-system storage-provisioner 1/1 Running 1 (13m ago) 14m |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| NAME READY STATUS RESTARTS AGE | |
| ingress-nginx-admission-create--1-xn4wr 0/1 Completed 0 6m19s | |
| ingress-nginx-admission-patch--1-dzxt6 0/1 Completed 0 6m19s | |
| ingress-nginx-controller-69bdbc4d57-bp27q 1/1 Running 0 6m19s |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head><title>404 Not Found</title></head> | |
| <body> | |
| <center><h1>404 Not Found</h1></center> | |
| <hr><center>nginx</center> | |
| </body> | |
| </html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| . | |
| ├── Dockerfile | |
| ├── .dockerignore | |
| ├── hello.sh | |
| ├── .helm | |
| │ └── templates | |
| │ ├── deployment.yaml | |
| │ ├── ingress.yaml | |
| │ └── service.yaml | |
| └── werf.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: apps/v1 | |
| kind: Deployment | |
| metadata: | |
| name: werf-first-app | |
| spec: | |
| replicas: 1 | |
| selector: | |
| matchLabels: | |
| app: werf-first-app | |
| template: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: werf-first-app | |
| spec: | |
| selector: | |
| app: werf-first-app | |
| ports: | |
| - name: http | |
| port: 8000 |
OlderNewer