docs: add all untracked content
parent
c13ac6df39
commit
2ab59f1d2e
|
|
@ -2,7 +2,7 @@
|
|||
title: DevOps
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-03T14:23:20.337Z
|
||||
date: 2023-11-07T16:24:00.157Z
|
||||
tags:
|
||||
editor: ckeditor
|
||||
dateCreated: 2023-11-03T08:57:53.006Z
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
title: Helm
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-07T15:27:06.509Z
|
||||
date: 2023-11-07T16:24:30.060Z
|
||||
tags: helm
|
||||
editor: ckeditor
|
||||
dateCreated: 2023-11-07T15:25:32.651Z
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
title: 01-Основы helm
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-07T15:20:06.720Z
|
||||
date: 2023-11-07T16:24:26.137Z
|
||||
tags: helm
|
||||
editor: markdown
|
||||
dateCreated: 2023-11-07T15:18:54.227Z
|
||||
|
|
|
|||
|
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
title: configmap-confyaml
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-07T16:24:39.804Z
|
||||
tags:
|
||||
editor: markdown
|
||||
dateCreated: 2023-11-07T16:21:49.220Z
|
||||
---
|
||||
|
||||
```yaml
|
||||
---
|
||||
kind: ConfigMap
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: openresty-conf
|
||||
data:
|
||||
default.conf: |
|
||||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
|
||||
location / {
|
||||
root /usr/local/openresty/nginx/html;
|
||||
index index.html index.htm;
|
||||
}
|
||||
|
||||
error_page 500 502 503 504 /50x.html;
|
||||
location = /50x.html {
|
||||
root /usr/local/openresty/nginx/html;
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
---
|
||||
title: configmap-htmlyaml
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-07T16:24:44.112Z
|
||||
tags:
|
||||
editor: markdown
|
||||
dateCreated: 2023-11-07T16:22:02.706Z
|
||||
---
|
||||
|
||||
```yaml
|
||||
---
|
||||
kind: ConfigMap
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: openresty-html
|
||||
data:
|
||||
index.html: |
|
||||
<html>
|
||||
<head>
|
||||
<title>Тестовая страница</title>
|
||||
<meta charset="UTF-8">
|
||||
</head>
|
||||
<body>
|
||||
<h1>Тестовая страница</h1>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
50x.html: |
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
|
||||
<meta content="utf-8" http-equiv="encoding">
|
||||
<title>Error</title>
|
||||
<style>
|
||||
body {
|
||||
width: 35em;
|
||||
margin: 0 auto;
|
||||
font-family: Tahoma, Verdana, Arial, sans-serif;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>An error occurred.</h1>
|
||||
<p>Sorry, the page you are looking for is currently unavailable.<br/>
|
||||
Please try again later.</p>
|
||||
</body>
|
||||
</html>
|
||||
```
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
---
|
||||
title: deploymentyaml
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-07T16:24:48.334Z
|
||||
tags:
|
||||
editor: markdown
|
||||
dateCreated: 2023-11-07T16:22:15.907Z
|
||||
---
|
||||
|
||||
```yaml
|
||||
---
|
||||
kind: Deployment
|
||||
apiVersion: apps/v1
|
||||
metadata:
|
||||
name: openresty
|
||||
labels:
|
||||
k8s-app: openresty
|
||||
annotations:
|
||||
reloader.stakater.com/auto: "true"
|
||||
configmap.reloader.stakater.com/reload: "openresty"
|
||||
spec:
|
||||
replicas: 2
|
||||
revisionHistoryLimit: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
k8s-app: openresty
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
k8s-app: openresty
|
||||
spec:
|
||||
containers:
|
||||
- name: openresty
|
||||
image: openresty/openresty:centos-rpm
|
||||
imagePullPolicy: IfNotPresent
|
||||
ports:
|
||||
- containerPort: 80
|
||||
name: http
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /index.html
|
||||
port: http
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 15
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /index.html
|
||||
port: http
|
||||
initialDelaySeconds: 5
|
||||
periodSeconds: 15
|
||||
timeoutSeconds: 5
|
||||
resources:
|
||||
limits:
|
||||
cpu: "0.2"
|
||||
memory: "400Mi"
|
||||
requests:
|
||||
cpu: "0.1"
|
||||
memory: "200Mi"
|
||||
volumeMounts:
|
||||
- name: html
|
||||
mountPath: /usr/local/openresty/nginx/html/
|
||||
- name: config
|
||||
mountPath: /etc/nginx/conf.d/
|
||||
volumes:
|
||||
- name: html
|
||||
configMap:
|
||||
name: openresty-html
|
||||
- name: config
|
||||
configMap:
|
||||
name: openresty-conf
|
||||
|
||||
```
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
title: ingressyaml
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-07T16:24:52.559Z
|
||||
tags:
|
||||
editor: markdown
|
||||
dateCreated: 2023-11-07T16:22:28.827Z
|
||||
---
|
||||
|
||||
```yaml
|
||||
---
|
||||
kind: Ingress
|
||||
apiVersion: networking.k8s.io/v1
|
||||
metadata:
|
||||
name: application
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: "system-ingress"
|
||||
certmanager.k8s.io/cluster-issuer: monitoring-issuer
|
||||
spec:
|
||||
rules:
|
||||
- host: "application.kryukov.local"
|
||||
http:
|
||||
paths:
|
||||
- pathType: Prefix
|
||||
path: /
|
||||
backend:
|
||||
service:
|
||||
name: openresty
|
||||
port:
|
||||
number: 80
|
||||
```
|
||||
|
|
@ -1,3 +1,13 @@
|
|||
---
|
||||
title: service
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-07T16:24:34.630Z
|
||||
tags:
|
||||
editor: markdown
|
||||
dateCreated: 2023-11-07T15:49:24.049Z
|
||||
---
|
||||
|
||||
```yaml
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
title: bash-completion для kubectl
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-03T14:23:16.354Z
|
||||
date: 2023-11-07T16:23:56.024Z
|
||||
tags: bash, kubectl
|
||||
editor: ckeditor
|
||||
dateCreated: 2023-11-03T08:55:30.344Z
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
title: ПО, которое необходимо для установки и настройки хакинтоша
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-07T10:42:26.118Z
|
||||
date: 2023-11-07T16:24:21.510Z
|
||||
tags: mac, soft, hackintosh
|
||||
editor: ckeditor
|
||||
dateCreated: 2023-11-07T10:42:22.230Z
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
title: Home Page
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-03T14:27:06.918Z
|
||||
date: 2023-11-07T16:24:08.845Z
|
||||
tags:
|
||||
editor: ckeditor
|
||||
dateCreated: 2023-11-03T14:27:02.804Z
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
title: Syncthing - резервное копирование
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-03T14:25:51.997Z
|
||||
date: 2023-11-07T16:23:47.655Z
|
||||
tags: syncthing, backup
|
||||
editor: ckeditor
|
||||
dateCreated: 2023-11-02T11:52:22.718Z
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
title: bash-completion автодополнение
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-07T10:34:51.808Z
|
||||
date: 2023-11-07T16:23:52.015Z
|
||||
tags: bash, linux
|
||||
editor: ckeditor
|
||||
dateCreated: 2023-11-03T08:47:49.396Z
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
title: Отвязка процесса от терминальной сессии
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-07T10:27:53.840Z
|
||||
date: 2023-11-07T16:24:13.246Z
|
||||
tags: bash, process, screen
|
||||
editor: markdown
|
||||
dateCreated: 2023-11-07T10:15:03.139Z
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
title: Шпаргалка по выводу в терминале
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-07T10:39:10.352Z
|
||||
date: 2023-11-07T16:24:17.608Z
|
||||
tags: output, tee
|
||||
editor: markdown
|
||||
dateCreated: 2023-11-07T10:37:25.945Z
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
title: Авторизация по ключу rsa по ssh
|
||||
description:
|
||||
published: true
|
||||
date: 2023-11-07T10:28:37.028Z
|
||||
date: 2023-11-07T16:24:04.921Z
|
||||
tags: ssh, rsa
|
||||
editor: markdown
|
||||
dateCreated: 2023-11-03T12:36:39.209Z
|
||||
|
|
|
|||
Loading…
Reference in New Issue