Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
f366bcbc22 | |||
bf63678256 |
19
.gitignore
vendored
19
.gitignore
vendored
@ -1,19 +0,0 @@
|
|||||||
### IntelliJ IDEA ###
|
|
||||||
.idea
|
|
||||||
*.iws
|
|
||||||
*.iml
|
|
||||||
*.ipr
|
|
||||||
out/
|
|
||||||
!**/src/main/**/out/
|
|
||||||
!**/src/test/**/out/
|
|
||||||
|
|
||||||
### NetBeans ###
|
|
||||||
/nbproject/private/
|
|
||||||
/nbbuild/
|
|
||||||
/dist/
|
|
||||||
/nbdist/
|
|
||||||
/.nb-gradle/
|
|
||||||
|
|
||||||
### VS Code ###
|
|
||||||
.vscode/
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
name: law
|
|
||||||
version: ~ # https://docs.antora.org/antora/latest/component-with-no-version/
|
|
||||||
start_page: general.adoc
|
|
||||||
asciidoc:
|
|
||||||
attributes:
|
|
||||||
source-language: asciidoc@
|
|
||||||
table-caption: false
|
|
||||||
nav:
|
|
||||||
- modules/ROOT/nav.adoc
|
|
@ -6,11 +6,9 @@ data:
|
|||||||
index.html: |
|
index.html: |
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<body>
|
<body>
|
||||||
Hello worldik
|
Hello worldix
|
||||||
blaba
|
</body>
|
||||||
|
|
||||||
</body>
|
|
||||||
</html>
|
</html>
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
@ -19,7 +17,7 @@ metadata:
|
|||||||
name: nginx
|
name: nginx
|
||||||
spec:
|
spec:
|
||||||
revisionHistoryLimit: 0
|
revisionHistoryLimit: 0
|
||||||
replicas: 2
|
replicas: 3
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: nginx
|
app: nginx
|
||||||
@ -30,7 +28,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: library/nginx
|
image: harbor.codemowers.eu/docker.io/library/nginx@sha256:4468bf5f7efb285ac63281907c6e4b2e636bc4aa75e4557e61b2d60186746e65
|
||||||
ports:
|
ports:
|
||||||
- name: nginx
|
- name: nginx
|
||||||
containerPort: 80
|
containerPort: 80
|
||||||
@ -66,7 +64,7 @@ metadata:
|
|||||||
external-dns.alpha.kubernetes.io/target: traefik.codemowers.ee
|
external-dns.alpha.kubernetes.io/target: traefik.codemowers.ee
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: custom.codemowers.ee #<1>
|
- host: msergo-nginx-argo.codemowers.ee
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- pathType: Prefix
|
- pathType: Prefix
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
= NGiNX lab
|
|
||||||
|
|
||||||
Steps to local run:
|
|
||||||
|
|
||||||
1. in https://dashboard.codemowers.eu/ add sandbox.
|
|
||||||
2. Mark next options:
|
|
||||||
* Dex
|
|
||||||
* Instantiate Prometheus for this namespace
|
|
||||||
* Instantiate dedicated Traeifk instance in this namespace
|
|
||||||
3. Confirm new sandbox
|
|
||||||
4. Set your custom subdomain
|
|
||||||
[source, yaml]
|
|
||||||
----
|
|
||||||
include::../../../application.yml[]
|
|
||||||
----
|
|
||||||
<1> custom subdomain
|
|
||||||
|
|
||||||
5.kubectl apply -f application.yml -n {sandbox-name}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user