This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
creylopez
/
k8s-cluster-projects
Watch
1
Star
1
Fork
0
Code
Issues
1
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Añado shells para borrar contenedores evicted y completed y otras
main
Celestino Rey
2 years ago
parent
b5f94afd96
commit
6410714441
7 changed files
with
13 additions
and
0 deletions
Unified View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
Airsonic/airsonic-deployment.yaml
+3
-0
MiRegistry/step-01.sh
+1
-0
Navidrome/navidrome-deployment.yaml
+3
-0
RegistryServer/README.md
+2
-0
borraCompleted.sh
+2
-0
borraEvicted.sh
+1
-0
fuerzaFin.sh
+ 1
- 0
Airsonic/airsonic-deployment.yaml
View File
@ -54,6 +54,7 @@ spec:
value
:
-
Dserver.port=4040
value
:
-
Dserver.port=4040
name
:
airsonic
name
:
airsonic
image
:
airsonic/airsonic
image
:
airsonic/airsonic
imagePullPolicy
:
IfNotPresent
ports:
ports:
-
containerPort
:
4040
-
containerPort
:
4040
name
:
"airsonic-http"
name
:
"airsonic-http"
+ 3
- 0
MiRegistry/step-01.sh
View File
@ -0,0 +1,3 @@
# mkdir -p /registry && cd "$_"
# mkdir certs
openssl req -x509 -newkey rsa:4096 -days
365
-nodes -sha256 -keyout certs/tls.key -out certs/tls.crt -subj
"/CN=docker-registry"
-addext
"subjectAltName = DNS:docker-registry"
+ 1
- 0
Navidrome/navidrome-deployment.yaml
View File
@ -54,6 +54,7 @@ spec:
value
:
-
Dserver.port=4533
value
:
-
Dserver.port=4533
name
:
navidrome
name
:
navidrome
image
:
deluan/navidrome:latest
image
:
deluan/navidrome:latest
imagePullPolicy
:
IfNotPresent
ports:
ports:
-
containerPort
:
4533
-
containerPort
:
4533
name
:
"navidrome-http"
name
:
"navidrome-http"
+ 3
- 0
RegistryServer/README.md
View File
@ -0,0 +1,3 @@
# Registry Server
https://mrzik.medium.com/how-to-configure-private-registry-for-kubernetes-cluster-running-with-containerd-cf74697fa382
+ 2
- 0
borraCompleted.sh
View File
@ -0,0 +1,2 @@
kubectl get pod -n
$1
|
grep
$2
|
awk
'{print $1}'
|
xargs kubectl delete pod -n
$1
+ 2
- 0
borraEvicted.sh
View File
@ -0,0 +1,2 @@
kubectl get pod -n
$1
|
grep Evicted
|
awk
'{print $1}'
|
xargs kubectl delete pod -n
$1
+ 1
- 0
fuerzaFin.sh
View File
@ -0,0 +1 @@
kubectl delete pod --grace-period
=
0
--force -n
$1
$2
Write
Preview
Loading…
Cancel
Save