Disk operation
df
展示磁盘的使用情况
du
当前目录下的每个文件的使用情况
file operationdefinition
什么是Linux的文件系统?
cat
cat
-n 对输出的内容加上行号
-b 对输出的内容(除空白行外)都加上行号
/dev/null > [file name] 清空当前file的内容
chgrp 改变文件或目录的所属群组
-v/-c 改变当前文件的群组
eg:如果想将当前目录下的README...
How to collect, manage and visualize our log data?author: zengqiang fanglog ELK EFK k8s
Background Duri...
Varnish using for new fresh
What is varnish
Varnish is a http cache tool for accelerating http request response.
The configuration language of varnish is named as VCL, which can handle the incomi...
how to use secret in k8s
encryption method
name
Description
Strength
Key Length
identity default
None
test
test
secretbox
XSalsa20 and Poly1305
Strong
32 byte
aesgcm
AES-GCM with random...
helm一种CI/CD工具
definition: helm可以被当做是k8s的包管理工具,利用helm可以部署自己的应用程序以及其他依赖服务应用,如redis,mysql等等。
如何在本地的k8s集群中使用helm部署服务
preparation
docker-desktop or minikube
brew install helm
using helm versio...
minimal CI/CD 工具 skaffold
阅读时长:30min
背景 项目上使用了很多的ops工具,但是每一个ops的工具又只使用了一部分的功能。其中Jenkins用来构建我们的pipeline主体框架,打包镜像是采用的skaffold中jib模式,镜像的推送采用的是jenkinsX,部署又是使用的helm...
how to set up argo-cd-config
pre
defination
argo cd is a common CD tool for kubernates
steps
create a namespace in local k8s cluster by follow cmd: kubectl create namespace argocd
pull necess...
How use local database in app
make user experience more comfortable when your app cannot access to the internet. It also can persist data in your local machine.
use annotation to create entity
@Ent...
viewModel
what?
It is used to store the UI-related data
each fragment owns itself viewModel
fragment will be created several times when the configurations are changed. However, viewModel just is cr...