Links server now from home
This commit is contained in:
parent
7d32e37eec
commit
10c8aba634
3 changed files with 154 additions and 0 deletions
113
apps-kustomized/links/deploy.yaml
Normal file
113
apps-kustomized/links/deploy.yaml
Normal file
|
@ -0,0 +1,113 @@
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: littlelink-server
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: littlelink-server
|
||||||
|
app.kubernetes.io/name: littlelink-server
|
||||||
|
spec:
|
||||||
|
revisionHistoryLimit: 3
|
||||||
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: RollingUpdate
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app.kubernetes.io/name: littlelink-server
|
||||||
|
app.kubernetes.io/instance: littlelink-server
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/name: littlelink-server
|
||||||
|
app.kubernetes.io/instance: littlelink-server
|
||||||
|
spec:
|
||||||
|
|
||||||
|
serviceAccountName: default
|
||||||
|
automountServiceAccountToken: true
|
||||||
|
dnsPolicy: ClusterFirst
|
||||||
|
enableServiceLinks: true
|
||||||
|
containers:
|
||||||
|
- name: littlelink-server
|
||||||
|
image: "ghcr.io/techno-tim/littlelink-server:latest"
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
env:
|
||||||
|
- name: AVATAR_2X_URL
|
||||||
|
value: https://files.martyn.berlin/blogimages/RedLycanSongLogo.png
|
||||||
|
- name: AVATAR_ALT
|
||||||
|
value: Lycansong Logo
|
||||||
|
- name: AVATAR_URL
|
||||||
|
value: https://files.martyn.berlin/blogimages/RedLycanSongLogo.png
|
||||||
|
- name: BANDCAMP
|
||||||
|
value: https://acapellawolf.bandcamp.com
|
||||||
|
- name: BIO
|
||||||
|
value: Lycansong's links
|
||||||
|
- name: BUTTON_ORDER
|
||||||
|
value: FAIRCAMP,BANDCAMP,SOUND_CLOUD,MASTODON,DISCORD,TWITCH,EMAIL
|
||||||
|
- name: CUSTOM_BUTTON_ALT_TEXT
|
||||||
|
value: Faircamp
|
||||||
|
- name: CUSTOM_BUTTON_COLOR
|
||||||
|
value: '#aaddff'
|
||||||
|
- name: CUSTOM_BUTTON_ICON
|
||||||
|
value: fa-classic fa-music
|
||||||
|
- name: CUSTOM_BUTTON_NAME
|
||||||
|
value: FAIRCAMP
|
||||||
|
- name: CUSTOM_BUTTON_TEXT
|
||||||
|
value: faircamp
|
||||||
|
- name: CUSTOM_BUTTON_TEXT_COLOR
|
||||||
|
value: '#000000'
|
||||||
|
- name: CUSTOM_BUTTON_URL
|
||||||
|
value: https://lycansong.martyn.berlin
|
||||||
|
- name: DISCORD
|
||||||
|
value: https://discord.gg/d5FdSNw
|
||||||
|
- name: EMAIL
|
||||||
|
value: wolf@martyn.berlin
|
||||||
|
- name: EMAIL_TEXT
|
||||||
|
value: Email
|
||||||
|
- name: FAVICON_URL
|
||||||
|
value: https://files.martyn.berlin/blogimages/RedLycanSongLogo.png
|
||||||
|
- name: FOOTER
|
||||||
|
value: Thanks for stopping by!
|
||||||
|
- name: GITHUB
|
||||||
|
value: https://github.com/timothystewart6
|
||||||
|
- name: MASTODON
|
||||||
|
value: https://toot.martyn.berlin/@martyn
|
||||||
|
- name: META_AUTHOR
|
||||||
|
value: Lycansong
|
||||||
|
- name: META_DESCRIPTION
|
||||||
|
value: Lycansong 's Link page
|
||||||
|
- name: META_TITLE
|
||||||
|
value: Lycansong
|
||||||
|
- name: NAME
|
||||||
|
value: Lycansong
|
||||||
|
- name: SOUND_CLOUD
|
||||||
|
value: https://soundcloud.com/acapellawolf
|
||||||
|
- name: THEME
|
||||||
|
value: Dark
|
||||||
|
- name: TWITCH
|
||||||
|
value: https://twitch.tv/acapellawolf
|
||||||
|
- name: TZ
|
||||||
|
value: UTC
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
containerPort: 3000
|
||||||
|
protocol: TCP
|
||||||
|
livenessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: 3000
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
failureThreshold: 3
|
||||||
|
timeoutSeconds: 1
|
||||||
|
periodSeconds: 10
|
||||||
|
readinessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: 3000
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
failureThreshold: 3
|
||||||
|
timeoutSeconds: 1
|
||||||
|
periodSeconds: 10
|
||||||
|
startupProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: 3000
|
||||||
|
initialDelaySeconds: 0
|
||||||
|
failureThreshold: 30
|
||||||
|
timeoutSeconds: 1
|
||||||
|
periodSeconds: 5
|
24
apps-kustomized/links/ingress.yaml
Normal file
24
apps-kustomized/links/ingress.yaml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: littlelink-server
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: littlelink-server
|
||||||
|
app.kubernetes.io/name: littlelink-server
|
||||||
|
external-dns.alpha.kubernetes.io/target: "armnleg.martyn.berlin"
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- "links.martyn.berlin"
|
||||||
|
rules:
|
||||||
|
- host: "links.martyn.berlin"
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: "/"
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: littlelink-server
|
||||||
|
port:
|
||||||
|
number: 3000
|
17
apps-kustomized/links/svc.yaml
Normal file
17
apps-kustomized/links/svc.yaml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: littlelink-server
|
||||||
|
labels:
|
||||||
|
app.kubernetes.io/instance: littlelink-server
|
||||||
|
app.kubernetes.io/version: 1.0.0
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- port: 3000
|
||||||
|
targetPort: http
|
||||||
|
protocol: TCP
|
||||||
|
name: http
|
||||||
|
selector:
|
||||||
|
app.kubernetes.io/name: littlelink-server
|
||||||
|
app.kubernetes.io/instance: littlelink-server
|
Loading…
Add table
Reference in a new issue