首先要排序
#find lines only in file1
comm -23 file1 file2
#find lines only in file2
comm -13 file1 file2
#find lines common to both files
comm -12 file1 file2
[......]
首先要排序
#find lines only in file1
comm -23 file1 file2
#find lines only in file2
comm -13 file1 file2
#find lines common to both files
comm -12 file1 file2
[......]
1、Deployment和Pod
文件
apiVersion: apps/v1
kind: Deployment
metadata:
name: lmsia-abc-server-deployment
spec:
selector:
matchLabels:
app: lmsia-abc-server
replicas: 2
template:
metadata:
labels:
app: l[......]
sudo apt-get update && apt-get install -y apt-transport-https curl
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
sudo cat <<EOF >/etc/apt/sources.list
deb http://apt.kubernetes.io/ kubernetes-x[......]
http://www.chengweiyang.cn/gitbook/index.html[......]
review() {
branchName=`git rev-parse --abbrev-ref HEAD`
branchAndTopic="${branchName}"
if [ x"$1" != x"" ]; then
branchAndTopic="${branchName}""/"$1
fi
git push origin HEAD:refs/for/${branchAndTopic}%r=liheyuan[......]