Skip to content

Commit

Permalink
feat
Browse files Browse the repository at this point in the history
  • Loading branch information
JuckZ committed Dec 5, 2022
1 parent e5bef9f commit d746c15
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 30 deletions.
36 changes: 13 additions & 23 deletions k3s/registries.yaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,21 @@
mirrors:
k8s.gcr.io:
endpoint:
- "https://registry.cn-shenzhen.aliyuncs.com"
- "https://registry.cn-hangzhou.aliyuncs.com"
- https://registry.cn-shenzhen.aliyuncs.com
- https://registry.cn-hangzhou.aliyuncs.com
rewrite:
"(.*)": "icool/$1"
"^sig-storage/(.*)": "icool/gcr.$1"
docker.io:
endpoint:
- "https://x8pwdtpq.mirror.aliyuncs.com"
rewrite:
# "^rancher/(.*)": "mirrorproject/rancher-images/$1"
"^rancher/mirrored-pause:3.6": "icool/rancher.mirrored-pause:3.6"
"^k8s.gcr.io/sig-storage/csi-node-driver-registrar:v2.3.0": "icool/gcr.csi-node-driver-registrar:v2.3.0"
"^k8s.gcr.io/sig-storage/csi-resizer:v1.2.0": "icool/gcr.csi-resizer:v1.2.0"
"^k8s.gcr.io/sig-storage/csi-snapshotter:v3.0.3": "icool/gcr.csi-snapshotter:v3.0.3"
"^k8s.gcr.io/sig-storage/csi-attacher:v3.1.0": "icool/gcr.csi-attacher:v3.1.0"
"^k8s.gcr.io/sig-storage/snapshot-controller:v3.0.3": "icool/gcr.snapshot-controller:v3.0.3"
"^k8s.gcr.io/sig-storage/csi-provisioner:v3.0.0": "icool/gcr.csi-provisioner:v3.0.0"
- https://docker.mirrors.ustc.edu.cn
- http://hub-mirror.c.163.com
- https://x8pwdtpq.mirror.aliyuncs.com
configs:
"x8pwdtpq.mirror.aliyuncs.com":
x8pwdtpq.mirror.aliyuncs.com:
auth:
username: ${USER_NAME}
password: ${PASSWORD}
registry.cn-hangzhou.aliyuncs.com:
auth:
username: 18780992520
password: zc1998zc

# configs:
# # "x8pwdtpq.mirror.aliyuncs.com":
# "registry.cn-hangzhou.aliyuncs.com":
# auth:
# username: ${ALIYUN_REGISTER_USER}
# password: ${ALIYUN_REGISTER_PASS}
username: ${USER_NAME}
password: ${PASSWORD}
44 changes: 44 additions & 0 deletions k3s/test-proxy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
apiVersion: apps/v1
kind: Deployment
metadata:
namespace: test
labels:
version: v1
app: test
app.kubernetes.io/version: v1
app.kubernetes.io/name: test
name: test-v1
spec:
replicas: 1
selector:
matchLabels:
version: v1
app: test
app.kubernetes.io/version: v1
app.kubernetes.io/name: test
template:
metadata:
labels:
version: v1
app: test
app.kubernetes.io/version: v1
app.kubernetes.io/name: test
spec:
containers:
- name: container-test1
imagePullPolicy: IfNotPresent
image: rancher/mirrored-pause:3.6
ports:
- name: http-1111
protocol: TCP
containerPort: 1111
- name: container-test2
imagePullPolicy: IfNotPresent
image: k8s.gcr.io/sig-storage/snapshot-controller:v3.0.3
ports:
- name: http-9411
protocol: TCP
containerPort: 9411
nodeSelector:
kubernetes.io/hostname: tx-master01
serviceAccount: default
7 changes: 0 additions & 7 deletions openebs/install.sh

This file was deleted.

Empty file removed openebs/values.yaml
Empty file.

0 comments on commit d746c15

Please sign in to comment.