您当前的位置:首页 > 精选知识 > 正文

containerd(Containerd 入门基础操作)

本文目录

  • Containerd 入门基础操作
  • 燃油附加费用英语怎么说啊
  • DV是不是普通集装箱的意思
  • 集装箱简称中,DV是哪两个单词的缩写啊
  • 使用kubeadm快速启用一个集群
  • k8s为啥不建议用docker了
  • 我国进口货物大多数采用的贸易术语是
  • 将Kubernetes的Runtime由Docker修改为containerd
  • ctr接口只有containerd才有吗
  • linux操作系统是否默认有docker-containerd文件

Containerd 入门基础操作

Containerd 被 Docker、Kubernetes CRI 和其他一些项目使用 Containerd 旨在轻松嵌入到更大的系统中。Docker 在后台使用 containerd来运行容器。Kubernetes 可以通过 CRI 使用 containerd来管理单个节点上的容器。 生成默认配置 配置镜像加速器 ctr 相当于核心组件,通过加载插件的方式来支持各种操作。 使用 ctr plugins ls 来查看当前加载的插件和支持的操作。 ctr plugins ls 命令会展示三列 ,第二列 ID 就是对应的命令。 例如 plugins 的 id 为 content 可使用 ctr content --help 来查看帮助,以及其他命令来执行操作。 查看有哪些命名空间 查看 k8s.io 空间下的镜像有哪些 接下来 从 容器的 生命周期流程 来说明 ctr 命令的使用。 ctr images ls 查看镜像 ctr images pull 拉取镜像 只有通过 crictl 或者 Kubernetes 调用时 mirror 才会生效,通过 ctr 拉取是不会生效的。 ctr images rm 删除镜像 ctr images mount 挂载 ctr images unmount 卸载 ctr images export 导出镜像 ctr images import 导入镜像 ctr中 containers 是镜像实例化的一个虚拟环境,提供一个磁盘,模拟空间,就好比你电脑处于关机状态一样。 ctr中 tasks 是将容器运行起来,电脑开机了 ,初始化进程等 ,task就是的这么个形式。 ctr containers ls 查看容器 ctr containers create 创建容器 ctr containers rm 删除容器 ctr containers info 查看详细信息 create 的命令创建了容器后,并没有处于运行状态,只是一个静态的容器。一个 container 对象只是包含了运行一个容器所需的资源及配置的数据结构,这意味着 namespaces、rootfs 和容器的配置都已经初始化成功了,只是用户进程(这里是 nginx)还没有启动。 ctr tasks start -d 在后台运行容器 ctr task exec 进入容器,id随便写就行,需要将其唯一 ctr task pause 暂停容器 ctr task resume 恢复容器 ctr task kill 杀死容器 ctr task metrics获取容器信息 ctr tasks rm 删除容器 https://www.oiox.cn/ https://www.chenby.cn/ https://cby-chen.github.io/ https://weibo.com/u/5982474121 https://blog.csdn.net/qq_33921750 https://my.oschina.net/u/3981543 https://www.zhihu.com/people/chen-bu-yun-2 https://segmentfault.com/u/hppyvyv6/articles https://juejin.cn/user/3315782802482007 https://space.bilibili.com/352476552/article https://cloud.tencent.com/developer/column/93230 https://www.jianshu.com/u/0f894314ae2c https://www.toutiao.com/c/user/token/MS4wLjABAAAAeqOrhjsoRZSj7iBJbjLJyMwYT5D0mLOgCoo4pEmpr4A/ CSDN、GitHub、知乎、开源中国、思否、掘金、、腾讯云、哔哩哔哩、今日头条、新浪微博、个人博客、全网可搜《小陈运维》

燃油附加费用英语怎么说啊

  BAF(燃油附加费):BUNKER ADJUSTMENT FACTOR  常用术语大全:  ANER 亚洲北美东行运费协定 Asia NorthAmerica EastboundRate  B组  BAF(燃油附加费):BUNKER ADJUSTMENT FACTOR  BAF 燃油附加费,大多数航线都有,但标准不一。  BAF 燃油附加费 Bunker AdjustmentFactor  B/L(提单):BILL OF LADING  B/L 海运提单 Bill of Lading  B/L (bill of lading)提单  B/R 买价 Buying Rate  C组(主要运费已付)  CFR 成本加运费(……指定目的港)  CFR(cost and freight)成本加运费价  C&F(成本加运费):COST AND FREIGHT  C&F 成本加海运费 COST AND FREIGHT  CIF 成本、保险费加运费付至(……指定目的港)  CIF 成本,保险加海运费 COST,INSURANCE,FRIGHT  CIF(成本运费加保险,俗称“到岸价”):COST INSURANCE AND FREIGHT  FOB (离岸价):FREE ON BOARD  CPT 运费付至(……指定目的港)  CPT 运费付至目的地 Carriage Paid To  CIP 运费、保险费付至(……指定目的地)  CIP 运费、保险费付至目的地 Carriage and Insurance Paid To  CY/CY 整柜交货(起点/终点)  C.Y. 货柜场 Container Yard  CY(码头):CONTAINER YARD  CFS(场):CARGO FREIGHT STATION  C/D (customs declaration)报关单  C.C.(运费到付):COLLECT  C.C 运费到付 Collect  CNTR NO. (柜号):CONTAINER NUMBER  C.O (certificate of origin)一般原产地证  CTN/CTNS(carton/cartons)纸箱  C.S.C 货柜服务费 Container Service Charge  C/(CNEE) 收货人 Consignee  C/O 产地证 Certificate of Origin  CAF 货币汇率附加费 Currency Adjustment Factor  CFS 散货仓库 Container Freight Station  CFS/CFS 散装交货(起点/终点)  CHB 报关行 Customs House Broker  COMM 商品 Commodity  CTNR 柜子 Container  D组(到达)  DAF 边境交货(……指定地点)  DAF 边境交货 Delivered At Frontier  DES 目的港船上交货(……指定目的港)  DES 目的港船上交货 Delivered Ex Ship  DEQ 目的港码头交货(……指定目的港)  DEQ 目的港码头交货 Delivered Ex Quay  DDU 未完税交货(……指定目的地)  DDU 未完税交货 Delivered Duty Unpaid  DDP 完税后交货(……指定目的地)  DDP 完税后交货 Delivered Duty Paid  DDC、IAC 直航附加费,美加航线使用  DDC 目的港码头费 Destination Delivery Charge  DL/DLS(dollar/dollars)美元  D/P(document against payment)付款交单  D/P 付款交单 Document Against Payment  DOC (document)文件、单据  DOC(文件费):DOCUMENT CHARGE  Doc# 文件号码 Document Number  D/A (document against acceptance)承兑交单  D/A 承兑交单 Document Against Acceptance  DOZ/DZ(dozen)一打  D/O 到港通知 Delivery Order  E组(发货)  EXW 工厂交货(……指定地点)  Ex 工厂交货 Work/ExFactory  ETA(到港日):ESTIMATED TIME OF ARRIVAL  ETD(开船日):ESTIMATED TIME OF DELIVERY  ETC(截关日):ESTIMATED TIME OF CLOSING  EBS、EBA 部分航线燃油附加费的表示方式,EBS一般是澳洲航线使用, EBA一般 是非洲航线、中南美航线使用  EXP(export)出口  EA(each)每个,各  EPS 设备位置附加费 Equipment Position Surcharges  F组(主要运费未付)  FCA 货交承运人(……指定地点)  FCA 货交承运人 Free Carrier  FAS 船边交货(……指定装运港)  FOB 船上交货(……指定装运港)  FOB 船上交货 Free On Board  FOB (离岸价):FREE ON BOARD  CIF(成本运费加保险,俗称“到岸价”):COST INSURANCE AND FREIGHT  FCL(整箱货):FULL CONTAINER CARGO LOAD  FCL 整柜 Full Container Load  LCL(拼箱货):LESS THAN ONECONTAINER CARGO LOAD  FAF 燃油价调整附加费(日本航线专用)  FAF 燃料附加费 Fuel AdjustmentFactor  FAC(facsimile)传真  Form A ---产地证(贸易公司)  F/F 货运代理 Freight Forwarder  FAK 各种货品 Freight All Kind  FAS 装运港船边交货 Free Alongside Ship  Feeder Vessel/Lighter 驳船航次  FEU 40‘柜型 Forty-Foot Equivalent Unit 40’  FMC 联邦海事委员会 Federal Maritime Commission  FIO是FREE IN AND OUT的意思,指船公司不付装船和卸船费用  FIOST条款,指船公司不负责装,卸,平舱,理舱  FI是FREE IN的意思,指船公司不付装  FO是FREE OUT的意思,同理指船公司不付卸  G组  GRI 综合费率上涨附加费,一般是南美航线、美国航线使用  GRI 全面涨价 General RateIncrease  G.W.(gross weight)毛重  G.W.(gross weight)毛重  N.W.(net weight)净重  G.S.P.(generalized system of preferences)普惠制  H组  HB/L(货代提单):HOUSE BILL OF LADING  HBL 子提单 House B/L  H/C 代理费 Handling Charge  I 组  IFA 临时燃油附加费,某些航线临时使用  INT(international)国际的  INV (invoice)发票  IMP(import)进口  I/S 内销售 Inside Sales  IA 各别调价 Independent Action  J 组  JP---代表“日元”  L组  FCL(整箱货):FULL CONTAINER CARGO LOAD  LCL(拼箱货):LESS THAN ONECONTAINER CARGO LOAD  LCL 拼柜 Less Than Container Load  L/C (letter of credit)信用证  L/C 信用证 Letter of Credit  Land Bridge 陆桥  M 组  MB/L 主提单 Master Bill Of Loading  MIN (minimum)最小的,最低限度  M/V(merchant vessel)商船  MT或M/T(metric ton)公吨  M/T 尺码吨(即货物收费以尺码计费) Measurement Ton  MAX (maximum)最大的、最大限度的  M 或MED (medium)中等,中级的  MLB 小陆桥,自一港到另一港口 Minni Land Bridge  Mother Vessel 主线船  MTD 多式联运单据 Multimodal Transport Document  N组  NOVCC(无船承运人):NON VESSEL OPRERATING COMMON CARRIER  NVOCC 无船承运人 Non Vessel OperatingCommon Carrier  N.W.(net weight)净重  N/F 通知人 Notify  O组  O/F 海运费 Ocean Freight  O/F(海运费):OCEAN FREIGHT  ORC(广东地区原产地收货费):ORIGINAL RECEIVING CHARGE  OB/L(海运提单):OCEAN BILL OF LADING  OBL 海运提单 Ocean (or original )B/L  ORC 本地出口附加费,和SPS类似,一般在华南地区使用  ORC 本地收货费用(广东省收取) Origen Recevie Charges  OCP 货主自行安排运到内陆点 Overland Continental Point  OP 操作 Operation  P组  POD 目地港 Port Of Destination  POL 装运港 Port Of Loading  PSS 旺季附加费 Peak Season Sucharges  PSS(旺季附加费):PEAK CEASON SURCHARGE  PSS 旺季附加费,大多数航线在运输旺季时可能临时使用  REF (reference)参考、查价  RMB(renminbi)人民币  PR或PRC(price) 价格  P/P(运费预付):FREIGHT PREPAID  P.P 预付 Prepaid  PCS 港口拥挤附加费,一般是以色列、印度某些港口及中南美航线使用  PCS 港口拥挤附加费 Port Congestion Surcharge  PTF 巴拿马运河附加费,美国航线、中南美航线使用  PKG(package)一包,一捆,一扎,一件等  PCE/PCS(piece/pieces)只、个、支等  P/L (packing list)装箱单、明细表  PCT (percent)百分比  PUR (purchase)购买、购货  S组  S/O(订舱单):SHIPPING ORDER  S/O 装货指示书 Shipping Order  SEAL NO. (铅封号)  S/C(sales contract)销售确认书  S/C 售货合同 Sales Contract  SC 服务合同 Service Contract  STL.(style)式样、款式、类型  SPS 上海港口附加费(船挂上港九区、十区)  S.S(steamship)船运  S/M (shipping marks)装船标记  S/(Shpr) 发货人 Shipper  S/R 卖价 Selling Rate  S/S Spread Sheet Spread Sheet  SSL 船公司 Steam Ship Line  SDR special drawing rights 特别提款权  T组  THC(码头费):TERMINAL HANDLING CHARGE  THC 码头操作费(香港收取) Terminal Handling Charges  T/T(电汇):TELEGRAM TRANSIT  T/T 航程 Transit Time  T/T(telegraphic transfer)电汇  T.O.C 码头操作费 Terminal Operations Option  T.R.C 码头收柜费 Terminal Receiving Charge  T/S 转船,转运 Trans-Ship  TVC/ TVR 定期定量合同 Time Volume Contract/ Rate  TEU 20‘柜型 Twenty-Foot Equivalent Unit 20’  TTL 总共 Total  T或LTX或TX(telex)电传  V组  VESSEL/VOYAGE(船名/航次)  VOCC 船公司 Vessel Operating Common Carrier  W组  W (with)具有  WT(weight)重量  W/T 重量吨(即货物收费以重量计费) Weight Ton  w/o(without)没有  W/M 即以重量吨或者尺码吨中从高收费 Weight or Measurement ton  Y组  YAS 日元升值附加费(日本航线专用)  YAS 码头附加费 Yard Surcharges

DV是不是普通集装箱的意思

DV是DRY VAN的缩写,指的是干货集装箱,多数叫法是GENERAL PURPOSE缩写GP。普通箱是GP就是GENERAL Purduct container开顶式OT就是OPEN TOP container框架是FR就是FLAT RACK container超高箱是HC就是HIGHER Purduct container危险品箱是DG Dangerous container干货箱是DC DRY。拓展资料:集装箱:集装箱,英文名container。是能装载包装或无包装货进行运输,并便于用机械设备进行装卸搬运的一种组成工具。集装箱最大的成功在于其产品的标准化以及由此建立的一整套运输体系。能够让一个载重几十吨的庞然大物实现标准化,并且以此为基础逐步实现全球范围内的船舶、港口、航线、公路、中转站、桥梁、隧道、多式联运相配套的物流系统,这的确堪称人类有史以来创造的伟大奇迹之一。集装箱国际标准:集装箱运输的初期,集装箱的结构和规格各不相同,影响了集装箱在国际上的流通,亟需制定集装箱的国际通用标准,以利于集装箱运输的发展。集装箱标准化,不仅能提高集装箱作为共同运输单元在海、陆、空运输中的通用性和互换性,而且能够提高集装箱运输的安全性和经济性,促进国际集装箱多式联运的发展。同时,集装箱的标准化还给集装箱的载运工具和装卸机械提供了选型、设计和制造的依据,从而使集装箱运输成为相互衔接配套、专业化和高效率的运输系统。集装箱标准按使用范围分,有国际标准、国家标准、地区标准和公司标准四种。是指根据国际标准化组织(ISO)第104技术委员会制定的国际标准来建造和使用的国际通用的标准集装箱。集装箱标准化历经了一个发展过程。国际标准化组织ISO/TC104技术委员会自1961年成立以来,对集装箱国际标准作过多次补充、增减和修改,现行的国际标准为第1系列共13种,其宽度均一样(2438mm)、长度有四种(12192mm、9125mm、6058mm、2991mm)、高度有三种(2896mm、2591mm、2438mm)。

集装箱简称中,DV是哪两个单词的缩写啊

DV:Digital VideoDangerous Goods或DC:Dangerous Cargo)多采用“现提”即Alongside Delivery.又称“船边交货”(指POD船边)。 DIN 德国标准化学会Deutsches Institut fur Normung DIRECT B/L 参见直达提单 代运业务 forwarding operation 倒签提单 ANTE-DATED B/L 承运人应托运人的要求在货物装船后,提单签发的日期早于实际装船完毕日期的提单。 冻附加费 Ice Surcharge 到达口岸 destination port 到达港 port of arrival; destination port 单独海损 average unless general; particular average 大副收据 mate’s receipt 定期客货船 passenger and cargo liner 定期船条件 berth terms 定期货船 cargo liner 待装船 received for shipment 待领货物 unclaimed cargo 抵达时间 date and time of arrival 电放 应签发或已签发正本B/L的货代或船公司,根据托运人或货代的要求,在POL不签发正本B/L或收回已签发之正本B/L,以E—MAIL 或FAX或Telex , Telegram 等方式通知Delivery Agent 将货放给B/L上的Consignee或shipper order之人(to order B/L下)

使用kubeadm快速启用一个集群

《pre class=“md-fences md-end-block ty-contain-cm modeLoaded“ spellcheck=“false“ lang=“shell“ cid=“n10“ mdtype=“fences“ style=“box-sizing: border-box; overflow: visible; font-family: Monaco, Consolas, “Andale Mono“, “DejaVu Sans Mono“, monospace; margin-top: 0px; margin-bottom: 20px; font-size: 0.9rem; display: block; break-inside: avoid; text-align: left; white-space: normal; background-color: rgb(51, 51, 51); position: relative !important; padding: 10px 10px 10px 30px; width: inherit; caret-color: rgb(184, 191, 198); color: rgb(184, 191, 198); font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;“》cat 《《EOF 》 /etc/yum.repos.d/kubernetes.repo name=kubernetes baseurl= https://mirrors.ustc.edu.cn/kubernetes/yum/repos/kubernetes-el7-$basearch enabled=1 EOF setenforce 0 yum install -y kubelet kubeadm kubectl systemctl enable kubelet && systemctl start kubelet sudo setenforce 0 sudo sed -i ’s/^SELINUX=enforcing$/SELINUX=permissive/’ /etc/selinux/config sudo systemctl enable --now kubelet《/pre》 《pre class=“md-fences md-end-block ty-contain-cm modeLoaded“ spellcheck=“false“ lang=“shell“ cid=“n19“ mdtype=“fences“ style=“box-sizing: border-box; overflow: visible; font-family: Monaco, Consolas, “Andale Mono“, “DejaVu Sans Mono“, monospace; margin-top: 0px; margin-bottom: 20px; font-size: 0.9rem; display: block; break-inside: avoid; text-align: left; white-space: normal; background-color: rgb(51, 51, 51); position: relative !important; padding: 10px 10px 10px 30px; width: inherit; caret-color: rgb(184, 191, 198); color: rgb(184, 191, 198); font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;“》curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - cat 《《EOF 》/etc/apt/sources.list.d/kubernetes.list deb https://mirrors.ustc.edu.cn/kubernetes/apt kubernetes-xenial main EOF apt-get update apt-get install -y kubelet kubeadm kubectl《/pre》 《pre class=“md-fences md-end-block ty-contain-cm modeLoaded“ spellcheck=“false“ lang=“shell“ cid=“n27“ mdtype=“fences“ style=“box-sizing: border-box; overflow: visible; font-family: Monaco, Consolas, “Andale Mono“, “DejaVu Sans Mono“, monospace; margin-top: 0px; margin-bottom: 20px; font-size: 0.9rem; display: block; break-inside: avoid; text-align: left; white-space: normal; background-color: rgb(51, 51, 51); position: relative !important; padding: 10px 10px 10px 30px; width: inherit; caret-color: rgb(184, 191, 198); color: rgb(184, 191, 198); font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;“》wget https://github.com/containerd/containerd/releases/download/v1.6.4/cri-containerd-cni-1.6.4-linux-amd64.tar.gz tar -C / -xzf cri-containerd-cni-1.6.4-linux-amd64.tar.gz cat 》 /etc/systemd/system/containerd.service 《《EOF Description=containerd container runtime Documentation= https://containerd.io After=network.target local-fs.target ExecStartPre=-/sbin/modprobe overlay ExecStart=/usr/local/bin/containerd Type=notify Delegate=yes KillMode=process Restart=always RestartSec=5 LimitNPROC=infinity LimitCORE=infinity LimitNOFILE=infinity TasksMax=infinity OOMScoreAdjust=-999 WantedBy=multi-user.target EOF mkdir -p /etc/containerd containerd config default | tee /etc/containerd/config.toml systemctl daemon-reload systemctl enable --now containerd《/pre》 《pre class=“md-fences md-end-block ty-contain-cm modeLoaded“ spellcheck=“false“ lang=“shell“ cid=“n34“ mdtype=“fences“ style=“box-sizing: border-box; overflow: visible; font-family: Monaco, Consolas, “Andale Mono“, “DejaVu Sans Mono“, monospace; margin-top: 0px; margin-bottom: 20px; font-size: 0.9rem; display: block; break-inside: avoid; text-align: left; white-space: normal; background-color: rgb(51, 51, 51); position: relative !important; padding: 10px 10px 10px 30px; width: inherit; caret-color: rgb(184, 191, 198); color: rgb(184, 191, 198); font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;“》cat 《《EOF | sudo tee /etc/modules-load.d/k8s.conf br_netfilter EOF cat 《《EOF | sudo tee /etc/sysctl.d/k8s.conf net.bridge.bridge-nf-call-ip6tables = 1 net.bridge.bridge-nf-call-iptables = 1 EOF sudo sysctl --system echo 1 》 /proc/sys/net/ipv4/ip_forward hostnamectl set-hostname k8s-master01 hostnamectl set-hostname k8s-node01 hostnamectl set-hostname k8s-node02 sed -ri ’s/. swap. /#&/’ /etc/fstab swapoff -a && sysctl -w vm.swappiness=0 cat /etc/fstab hostnamectl set-hostname k8s-master01 hostnamectl set-hostname k8s-node01 hostnamectl set-hostname k8s-node02 cat 》 /etc/hosts 《《EOF 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 192.168.1.31 k8s-master01 192.168.1.32 k8s-node01 192.168.1.33 k8s-node01 EOF 《/pre》 《pre class=“md-fences md-end-block ty-contain-cm modeLoaded“ spellcheck=“false“ lang=“shell“ cid=“n41“ mdtype=“fences“ style=“box-sizing: border-box; overflow: visible; font-family: Monaco, Consolas, “Andale Mono“, “DejaVu Sans Mono“, monospace; margin-top: 0px; margin-bottom: 20px; font-size: 0.9rem; display: block; break-inside: avoid; text-align: left; white-space: normal; background-color: rgb(51, 51, 51); position: relative !important; padding: 10px 10px 10px 30px; width: inherit; caret-color: rgb(184, 191, 198); color: rgb(184, 191, 198); font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;“》root@k8s-master01:~# kubeadm config images missing subcommand; “images“ is not meant to be run on its own To see the stack trace of this error execute with --v=5 or higher root@k8s-master01:~# kubeadm config images list k8s.gcr.io/kube-apiserver:v1.24.0 k8s.gcr.io/kube-controller-manager:v1.24.0 k8s.gcr.io/kube-scheduler:v1.24.0 k8s.gcr.io/kube-proxy:v1.24.0 k8s.gcr.io/pause:3.7 k8s.gcr.io/etcd:3.5.3-0 k8s.gcr.io/coredns/coredns:v1.8.6 root@k8s-master01:~# root@k8s-master01:~# root@k8s-master01:~# root@k8s-master01:~# kubeadm init --image-repository registry.cn-hangzhou.aliyuncs.com/chenby Using Kubernetes version: v1.24.0 Running pre-flight checks Pulling images required for setting up a Kubernetes cluster This might take a minute or two, depending on the speed of your internet connection You can also perform this action in beforehand using ’kubeadm config images pull’ Using certificateDir folder “/etc/kubernetes/pki“ Generating “ca“ certificate and key Generating “apiserver“ certificate and key Generating “apiserver-kubelet-client“ certificate and key Generating “front-proxy-ca“ certificate and key Generating “front-proxy-client“ certificate and key Generating “etcd/ca“ certificate and key Generating “etcd/server“ certificate and key Generating “etcd/peer“ certificate and key Generating “etcd/healthcheck-client“ certificate and key Generating “apiserver-etcd-client“ certificate and key Generating “sa“ key and public key Using kubeconfig folder “/etc/kubernetes“ Writing “admin.conf“ kubeconfig file Writing “kubelet.conf“ kubeconfig file Writing “controller-manager.conf“ kubeconfig file Writing “scheduler.conf“ kubeconfig file Writing kubelet environment file with flags to file “/var/lib/kubelet/kubeadm-flags.env“ Writing kubelet configuration to file “/var/lib/kubelet/config.yaml“ Starting the kubelet Using manifest folder “/etc/kubernetes/manifests“ Creating static Pod manifest for “kube-apiserver“ Creating static Pod manifest for “kube-controller-manager“ Creating static Pod manifest for “kube-scheduler“ Creating static Pod manifest for local etcd in “/etc/kubernetes/manifests“ Waiting for the kubelet to boot up the control plane as static Pods from directory “/etc/kubernetes/manifests“. This can take up to 4m0s All control plane components are healthy after 9.502219 seconds Storing the configuration used in ConfigMap “kubeadm-config“ in the “kube-system“ Namespace Creating a ConfigMap “kubelet-config“ in namespace kube-system with the configuration for the kubelets in the cluster Skipping phase. Please see --upload-certs Using token: nsiavq.637f6t76cbtwckq9 Configuring bootstrap tokens, cluster-info ConfigMap, RBAC Roles Configured RBAC rules to allow Node Bootstrap tokens to get nodes Configured RBAC rules to allow Node Bootstrap tokens to post CSRs in order for nodes to get long term certificate credentials Configured RBAC rules to allow the csrapprover controller automatically approve CSRs from a Node Bootstrap Token Configured RBAC rules to allow certificate rotation for all node client certificates in the cluster Creating the “cluster-info“ ConfigMap in the “kube-public“ namespace Updating “/etc/kubernetes/kubelet.conf“ to point to a rotatable kubelet client certificate and key Applied essential addon: CoreDNS Applied essential addon: kube-proxy Your Kubernetes control-plane has initialized successfully! To start using your cluster, you need to run the following as a regular user: mkdir -p HOME/.kube/config sudo chown (id -g) $HOME/.kube/config Alternatively, if you are the root user, you can run: export KUBECONFIG=/etc/kubernetes/admin.conf You should now deploy a pod network to the cluster. Run “kubectl apply -f .yaml“ with one of the options listed at: https://kubernetes.io/docs/concepts/cluster-administration/addons/ Then you can join any number of worker nodes by running the following on each as root: kubeadm join 192.168.1.31:6443 --token nsiavq.637f6t76cbtwckq9 --discovery-token-ca-cert-hash sha256:963b47c1d46199eb28c2813c893fcd201cfaa32cfdfd521f6bc78a70c13878c4 root@k8s-master01:~# root@k8s-master01:~# mkdir -p HOME/.kube/config root@k8s-master01:~# sudo chown (id -g) $HOME/.kube/config root@k8s-master01:~# root@k8s-node01:~# kubeadm join 192.168.1.31:6443 --token nsiavq.637f6t76cbtwckq9 \ Running pre-flight checks Reading configuration from the cluster... FYI: You can look at this config file with ’kubectl -n kube-system get cm kubeadm-config -o yaml’ Writing kubelet configuration to file “/var/lib/kubelet/config.yaml“ Writing kubelet environment file with flags to file “/var/lib/kubelet/kubeadm-flags.env“ Starting the kubelet Waiting for the kubelet to perform the TLS Bootstrap... This node has joined the cluster: Run ’kubectl get nodes’ on the control-plane to see this node join the cluster. root@k8s-node01:~# root@k8s-node02:~# kubeadm join 192.168.1.31:6443 --token nsiavq.637f6t76cbtwckq9 \ Running pre-flight checks Reading configuration from the cluster... FYI: You can look at this config file with ’kubectl -n kube-system get cm kubeadm-config -o yaml’ Writing kubelet configuration to file “/var/lib/kubelet/config.yaml“ Writing kubelet environment file with flags to file “/var/lib/kubelet/kubeadm-flags.env“ Starting the kubelet Waiting for the kubelet to perform the TLS Bootstrap... This node has joined the cluster: Run ’kubectl get nodes’ on the control-plane to see this node join the cluster. root@k8s-node02:~# 《/pre》 《pre class=“md-fences md-end-block ty-contain-cm modeLoaded“ spellcheck=“false“ lang=“shell“ cid=“n48“ mdtype=“fences“ style=“box-sizing: border-box; overflow: visible; font-family: Monaco, Consolas, “Andale Mono“, “DejaVu Sans Mono“, monospace; margin-top: 0px; margin-bottom: 20px; font-size: 0.9rem; display: block; break-inside: avoid; text-align: left; white-space: normal; background-color: rgb(51, 51, 51); position: relative !important; padding: 10px 10px 10px 30px; width: inherit; caret-color: rgb(184, 191, 198); color: rgb(184, 191, 198); font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; text-decoration: none;“》root@k8s-master01:~# kubectl get node NAME STATUS ROLES AGE VERSION k8s-master01 Ready control-plane 86s v1.24.0 k8s-node01 Ready 《none》 42s v1.24.0 k8s-node02 Ready 《none》 37s v1.24.0 root@k8s-master01:~# root@k8s-master01:~# root@k8s-master01:~# kubectl get pod -A NAMESPACE NAME READY STATUS RESTARTS AGE kube-system coredns-bc77466fc-jxkpv 1/1 Running 0 83s kube-system coredns-bc77466fc-nrc9l 1/1 Running 0 83s kube-system etcd-k8s-master01 1/1 Running 0 87s kube-system kube-apiserver-k8s-master01 1/1 Running 0 89s kube-system kube-controller-manager-k8s-master01 1/1 Running 0 87s kube-system kube-proxy-2lgrn 1/1 Running 0 83s kube-system kube-proxy-69p9r 1/1 Running 0 47s kube-system kube-proxy-g58m2 1/1 Running 0 42s kube-system kube-scheduler-k8s-master01 1/1 Running 0 87s root@k8s-master01:~# 《/pre》

k8s为啥不建议用docker了

因为社区认为Containerd 作为 Kubernetes 的容器运行时目前已经足够成熟,无需再通过 dockershim 使用 Docker 作为 Kubernetes 的容器运行时。

这也标志着 Docker 为 Kubernetes 提供一个现代化的容器运行时的承诺最终兑现了。

在 Kubernetes 提出 CRI 时,有人建议在 Docker 中实现它。但是这种方式也会带来一个问题,即使 Docker 实现了 CRI,但它仍然不是一个单纯的容器运行时,它本身包含了大量的非 “纯底层容器运行时” 所具备的功能。

Docker一问世就广受好评,发展迅速,于是在2015年左右,不满足只做容器引擎的Docker开始尝试提供容器编排能力,对单机场景推出了Docker Compose,对集群场景推出了Docker Swarm。

也就在同年,Google推出了同样具备容器编排能力的Kubernetes,并在与Docker Swarm和Apache Mesos的三方大战中大获全胜。于是在之后的一段时间里形成了“集群容器编排用Kubernetes,单机容器引擎用Docker”的潜规则。

我国进口货物大多数采用的贸易术语是

ANER 亚洲北美东行运费协定 Asia NorthAmerica EastboundRateB组BAF(燃油附加费):BUNKER ADJUSTMENT FACTORBAF 燃油附加费,大多数航线都有,但标准不一。BAF 燃油附加费 Bunker AdjustmentFactorB/L(提单):BILL OF LADINGB/L 海运提单 Bill of LadingB/L (bill of lading)提单B/R 买价 Buying RateC组(主要运费已付)CFR 成本加运费(……指定目的港)CFR(cost and freight)成本加运费价C&F(成本加运费):COST AND FREIGHTC&F 成本加海运费 COST AND FREIGHTCIF 成本、保险费加运费付至(……指定目的港)CIF 成本,保险加海运费 COST,INSURANCE,FRIGHTCIF(成本运费加保险,俗称“到岸价”):COST INSURANCE AND FREIGHTFOB (离岸价):FREE ON BOARDCPT 运费付至(……指定目的港)CPT 运费付至目的地 Carriage Paid ToCIP 运费、保险费付至(……指定目的地)CIP 运费、保险费付至目的地 Carriage and Insurance Paid ToCY/CY 整柜交货(起点/终点)C.Y. 货柜场 Container YardCY(码头):CONTAINER YARDCFS(场):CARGO FREIGHT STATIONC/D (customs declaration)报关单C.C.(运费到付):COLLECTC.C 运费到付 CollectCNTR NO. (柜号):CONTAINER NUMBERC.O (certificate of origin)一般原产地证CTN/CTNS(carton/cartons)纸箱C.S.C 货柜服务费 Container Service ChargeC/(CNEE) 收货人 ConsigneeC/O 产地证 Certificate of OriginCAF 货币汇率附加费 Currency Adjustment FactorCFS 散货仓库 Container Freight StationCFS/CFS 散装交货(起点/终点)CHB 报关行 Customs House BrokerCOMM 商品 CommodityCTNR 柜子 ContainerD组(到达)DAF 边境交货(……指定地点)DAF 边境交货 Delivered At FrontierDES 目的港船上交货(……指定目的港)DES 目的港船上交货 Delivered Ex ShipDEQ 目的港码头交货(……指定目的港)DEQ 目的港码头交货 Delivered Ex QuayDDU 未完税交货(……指定目的地)DDU 未完税交货 Delivered Duty UnpaidDDP 完税后交货(……指定目的地)DDP 完税后交货 Delivered Duty PaidDDC、IAC 直航附加费,美加航线使用DDC 目的港码头费 Destination Delivery ChargeDL/DLS(dollar/dollars)美元D/P(document against payment)付款交单D/P 付款交单 Document Against PaymentDOC (document)文件、单据DOC(文件费):DOCUMENT CHARGEDoc# 文件号码 Document NumberD/A (document against acceptance)承兑交单D/A 承兑交单 Document Against AcceptanceDOZ/DZ(dozen)一打D/O 到港通知 Delivery OrderE组(发货)EXW 工厂交货(……指定地点)Ex 工厂交货 Work/ExFactoryETA(到港日):ESTIMATED TIME OF ARRIVALETD(开船日):ESTIMATED TIME OF DELIVERYETC(截关日):ESTIMATED TIME OF CLOSINGEBS、EBA 部分航线燃油附加费的表示方式,EBS一般是澳洲航线使用, EBA一般 是非洲航线、中南美航线使用EXP(export)出口EA(each)每个,各EPS 设备位置附加费 Equipment Position SurchargesF组(主要运费未付)FCA 货交承运人(……指定地点)FCA 货交承运人 Free CarrierFAS 船边交货(……指定装运港)FOB 船上交货(……指定装运港)FOB 船上交货 Free On BoardFOB (离岸价):FREE ON BOARDCIF(成本运费加保险,俗称“到岸价”):COST INSURANCE AND FREIGHTFCL(整箱货):FULL CONTAINER CARGO LOADFCL 整柜 Full Container LoadLCL(拼箱货):LESS THAN ONECONTAINER CARGO LOADFAF 燃油价调整附加费(日本航线专用)FAF 燃料附加费 Fuel AdjustmentFactorFAC(facsimile)传真Form A ---产地证(贸易公司)F/F 货运代理 Freight ForwarderFAK 各种货品 Freight All KindFAS 装运港船边交货 Free Alongside ShipFeeder Vessel/Lighter 驳船航次FEU 40‘柜型 Forty-Foot Equivalent Unit 40’FMC 联邦海事委员会 Federal Maritime CommissionFIO是FREE IN AND OUT的意思,指船公司不付装船和卸船费用FIOST条款,指船公司不负责装,卸,平舱,理舱FI是FREE IN的意思,指船公司不付装FO是FREE OUT的意思,同理指船公司不付卸G组GRI 综合费率上涨附加费,一般是南美航线、美国航线使用GRI 全面涨价 General RateIncreaseG.W.(gross weight)毛重G.W.(gross weight)毛重N.W.(net weight)净重G.S.P.(generalized system of preferences)普惠制H组HB/L(货代提单):HOUSE BILL OF LADINGHBL 子提单 House B/LH/C 代理费 Handling ChargeI 组IFA 临时燃油附加费,某些航线临时使用INT(international)国际的INV (invoice)发票IMP(import)进口I/S 内销售 Inside SalesIA 各别调价 Independent ActionJ 组JP---代表“日元”L组FCL(整箱货):FULL CONTAINER CARGO LOADLCL(拼箱货):LESS THAN ONECONTAINER CARGO LOADLCL 拼柜 Less Than Container LoadL/C (letter of credit)信用证L/C 信用证 Letter of CreditLand Bridge 陆桥M 组MB/L 主提单 Master Bill Of LoadingMIN (minimum)最小的,最低限度M/V(merchant vessel)商船MT或M/T(metric ton)公吨M/T 尺码吨(即货物收费以尺码计费) Measurement TonMAX (maximum)最大的、最大限度的M 或MED (medium)中等,中级的MLB 小陆桥,自一港到另一港口 Minni Land BridgeMother Vessel 主线船MTD 多式联运单据 Multimodal Transport DocumentN组NOVCC(无船承运人):NON VESSEL OPRERATING COMMON CARRIERNVOCC 无船承运人 Non Vessel OperatingCommon CarrierN.W.(net weight)净重N/F 通知人 NotifyO组O/F 海运费 Ocean FreightO/F(海运费):OCEAN FREIGHTORC(广东地区原产地收货费):ORIGINAL RECEIVING CHARGEOB/L(海运提单):OCEAN BILL OF LADINGOBL 海运提单 Ocean (or original )B/LORC 本地出口附加费,和SPS类似,一般在华南地区使用ORC 本地收货费用(广东省收取) Origen Recevie ChargesOCP 货主自行安排运到内陆点 Overland Continental PointOP 操作 OperationP组POD 目地港 Port Of DestinationPOL 装运港 Port Of LoadingPSS 旺季附加费 Peak Season SuchargesPSS(旺季附加费):PEAK CEASON SURCHARGEPSS 旺季附加费,大多数航线在运输旺季时可能临时使用REF (reference)参考、查价RMB(renminbi)人民币PR或PRC(price) 价格P/P(运费预付):FREIGHT PREPAIDP.P 预付 PrepaidPCS 港口拥挤附加费,一般是以色列、印度某些港口及中南美航线使用PCS 港口拥挤附加费 Port Congestion SurchargePTF 巴拿马运河附加费,美国航线、中南美航线使用PKG(package)一包,一捆,一扎,一件等PCE/PCS(piece/pieces)只、个、支等P/L (packing list)装箱单、明细表PCT (percent)百分比PUR (purchase)购买、购货S组S/O(订舱单):SHIPPING ORDERS/O 装货指示书 Shipping OrderSEAL NO. (铅封号)S/C(sales contract)销售确认书S/C 售货合同 Sales ContractSC 服务合同 Service ContractSTL.(style)式样、款式、类型SPS 上海港口附加费(船挂上港九区、十区)S.S(steamship)船运S/M (shipping marks)装船标记S/(Shpr) 发货人 ShipperS/R 卖价 Selling RateS/S Spread Sheet Spread SheetSSL 船公司 Steam Ship LineSDR special drawing rights 特别提款权T组THC(码头费):TERMINAL HANDLING CHARGETHC 码头操作费(香港收取) Terminal Handling ChargesT/T(电汇):TELEGRAM TRANSITT/T 航程 Transit TimeT/T(telegraphic transfer)电汇T.O.C 码头操作费 Terminal Operations OptionT.R.C 码头收柜费 Terminal Receiving ChargeT/S 转船,转运 Trans-ShipTVC/ TVR 定期定量合同 Time Volume Contract/ RateTEU 20‘柜型 Twenty-Foot Equivalent Unit 20’TTL 总共 TotalT或LTX或TX(telex)电传V组VESSEL/VOYAGE(船名/航次)VOCC 船公司 Vessel Operating Common CarrierW组W (with)具有WT(weight)重量W/T 重量吨(即货物收费以重量计费) Weight Tonw/o(without)没有W/M 即以重量吨或者尺码吨中从高收费 Weight or Measurement tonY组YAS 日元升值附加费(日本航线专用)YAS 码头附加费 Yard Surcharges

将Kubernetes的Runtime由Docker修改为containerd

Kubernetes 从 v1.20 开始弃用 Docker,并推荐用户切换到基于容器运行时接口(CRI)的容器引擎,如 containerd、cri-o 等。如果你使用了云服务商提供的托管 Kubernetes 服务,那你不用担心,像 GKE、AKS 等云服务商都已经在新版集群中把默认的运行时切换到 containerd 。如果是自管的集群则需要手动修改集群的Runtime,以下介绍集群Runtime的修改方法。 首先将需要修改的节点设置成不可调度 驱逐该节点上除了daemonset的pod 关闭docker、containerd 和 kubelet: 我们在使用docker-ce作为集群runtime时默认安装了containerd,先将其卸载。 安装containerd可参考我的文章: Containerd的安装和配置 /etc/containerd/config.toml 修改默认的 pause 镜像为国内的地址,替换 下面的 sandbox_image: 配置下镜像仓库的加速器地址: 修改 kubelet 配置,将容器运行时配置为 containerd,/etc/sysconfig/kubelet 文件,在该文件中可以添加kubelet 启动参数: 或者修改/etc/systemd/system/kubelet.service.d/10-kubeadm.conf文件 --container-runtime :指定使用的容器运行时的,可选值为 docker 或者 remote,默认是 docker,除 docker 之外的容器运行时都应该指定为 remote。 --container-runtime-endpoint:是用来指定远程的运行时服务的 endpiont 地址的,在 Linux 系统中一般都是使用 unix 套接字的形式,unix:///run/containerd/containerd.sock。 --image-service-endpoint:指定远程 CRI 的镜像服务地址,如果没有指定则默认使用 --container-runtime-endpoint 的值了,因为 CRI 都会实现容器和镜像服务的。 配置完成后重启 containerd 和 kubelet 即可: 查看服务 允许调度

ctr接口只有containerd才有吗

ctr接口不只有containerd才有。Containerd是一个工业标准的容器运行时,重点是它简洁,健壮,便携,在Linux和window上可以作为一个守护进程运行。它可以管理主机系统上容器的完整的生命周期:镜像传输和存储,容器的执行和监控,低级别的存储和网络。containerd和docker不同,containerd重点是继承在大规模的系统中,例如kubernetes,而不是面向开发者,让开发者使用,更多的是容器运行时的概念,承载容器运行。

linux操作系统是否默认有docker-containerd文件

Docker 是一个开源的应用容器引擎,让开发者可以打包他们的应用以及依赖包到一个可移植的容器中,然后发布到任何流行的 Linux 机器上,也可以实现虚拟化。 ontainer 是容器的意思。


声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,谢谢。

上一篇: 诺基亚5710xpressaudio(这是哪里料)

下一篇: 馅儿饼的面怎么和面_馅儿饼的面怎么和



推荐阅读