add kownledge ahout mechine learning
This commit is contained in:
@@ -0,0 +1,125 @@
|
||||
# violin-home
|
||||
|
||||
> 来源:原 mongodb 集合 `t_blog` · 整理日期:2026-08-25
|
||||
> 分类 ID:`2024111121076600000000000003` · 排序:14 · 文章数:3
|
||||
|
||||
## 目录
|
||||
|
||||
1. [腾讯云证书从申请到发布](#腾讯云证书从申请到发布)
|
||||
2. [腾讯云账号](#腾讯云账号)
|
||||
3. [gogs ci/cd](#gogs-cicd)
|
||||
|
||||
---
|
||||
|
||||
## 1. 腾讯云证书从申请到发布
|
||||
|
||||
<sub>bid: `2024111121075900000000000042`</sub>
|
||||
|
||||
### 申请
|
||||
略
|
||||
|
||||
### 解析
|
||||
略
|
||||
|
||||
### 手动发布
|
||||
|
||||
// 创建k8s secret
|
||||
kubectl create secret tls https-ca-${yyyyMMdd} --cert=violin-home.cn_bundle.crt --key=violin-home.cn.key -n devops
|
||||
// 编辑ingress
|
||||
kubectl edit ingress violin-ingress -n devops
|
||||
// 替换名字
|
||||
略,保存退出
|
||||
|
||||
---
|
||||
|
||||
## 2. 腾讯云账号
|
||||
|
||||
<sub>bid: `2024111121297600000000000043`</sub>
|
||||
|
||||
### 云账号
|
||||
1. 索克
|
||||
|
||||
账号ID:ID100031913163
|
||||
qq号: 244385414
|
||||
账号有效时间: 2023-06-11 ~ 2026-06-11
|
||||
2. 张奎
|
||||
|
||||
|
||||
账号ID:100031899966
|
||||
微信账号:
|
||||
账号有效时间: 2023-06-11 ~ 2026-06-11
|
||||
|
||||
---
|
||||
|
||||
## 3. gogs ci/cd
|
||||
|
||||
<sub>bid: `2024111122270400000000000044`</sub>
|
||||
|
||||
### 1. Service
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
labels:
|
||||
app: gogs
|
||||
name: gogs
|
||||
namespace: devops
|
||||
spec:
|
||||
ports:
|
||||
- name: gogs
|
||||
port: 3000
|
||||
protocol: TCP
|
||||
targetPort: 3000
|
||||
selector:
|
||||
app: gogs
|
||||
type: NodePort
|
||||
|
||||
### 2. Deployment
|
||||
---
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
labels:
|
||||
app: gogs
|
||||
name: gogs
|
||||
namespace: devops
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: gogs
|
||||
template:
|
||||
metadata:
|
||||
creationTimestamp: null
|
||||
labels:
|
||||
app: gogs
|
||||
spec:
|
||||
containers:
|
||||
- image: gogs/gogs
|
||||
imagePullPolicy: IfNotPresent
|
||||
name: gogs
|
||||
volumeMounts:
|
||||
- mountPath: /data
|
||||
name: volv
|
||||
volumes:
|
||||
- hostPath:
|
||||
path: /root/k8s/moonfdd/gogs/data
|
||||
type: DirectoryOrCreate
|
||||
name: volv
|
||||
|
||||
### 3. PVC
|
||||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: gogs-server-data
|
||||
namespace: devops
|
||||
annotations:
|
||||
volume.beta.kubernetes.io/storage-class: "managed-nfs-storage"
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
|
||||
---
|
||||
Reference in New Issue
Block a user