1 2 3 4 5 ··· 9 下一页
摘要: wget https://github.com/swoole/swoole-src/archive/v5.1.0.tar.gz cd swoole-src-5.1.0/ /opt/remi/php80/root/usr/bin/phpize ./configure --with-php-config 阅读全文
posted @ 2024-03-07 11:01 人生信条~~ 阅读(129) 评论(0) 推荐(0) 编辑
摘要: [root@uat-nanguaapp-mysql backup]# cat ~/.aws/config [profile all_sdk]region = us-west-1output = json [profile jfm_sdk]region = us-east-1output = json 阅读全文
posted @ 2024-02-26 10:32 人生信条~~ 阅读(8) 评论(0) 推荐(0) 编辑
摘要: #!/usr/bin/python3import timeimport threadingimport subprocessimport multiprocessingfrom multiprocessing import Pool # -*- coding: utf-8 -*-date_dir = 阅读全文
posted @ 2023-10-19 09:44 人生信条~~ 阅读(11) 评论(0) 推荐(0) 编辑
摘要: https://gist.github.com/5hmlA/2d25c4a5b2630a61826079b3f8ed6110 阅读全文
posted @ 2023-09-25 15:01 人生信条~~ 阅读(445) 评论(0) 推荐(0) 编辑
摘要: { "Version": "2012-10-17", "Id": "Policy1686715306459", "Statement": [ { "Sid": "Stmt1686715042068", "Effect": "Allow", "Principal": { "AWS": "arn:aws 阅读全文
posted @ 2023-06-14 22:34 人生信条~~ 阅读(16) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash # 从文件中读取域名列表for i in `cat domain.txt`do registrar_url=$(whois $i | grep "Registrar WHOIS Server" |awk '{print $NF}') if [ "$registrar_url" 阅读全文
posted @ 2023-04-27 09:18 人生信条~~ 阅读(42) 评论(0) 推荐(0) 编辑
摘要: # pod-prestop.yamlapiVersion: v1kind: Podmetadata: name: hook-demo2spec: containers: - name: hook-demo2 image: nginx lifecycle: preStop: exec: command 阅读全文
posted @ 2023-04-04 15:57 人生信条~~ 阅读(84) 评论(0) 推荐(0) 编辑
摘要: pod的状态挂起(Pending):Pod 信息已经提交给了集群,但是还没有被调度器调度到合适的节点或者 Pod 里的镜像正在下载运行中(Running):该 Pod 已经绑定到了一个节点上,Pod 中所有的容器都已被创建。至少有一个容器正在运行,或者正处于启动或重启状态成功(Succeeded): 阅读全文
posted @ 2023-04-04 15:22 人生信条~~ 阅读(452) 评论(0) 推荐(0) 编辑
摘要: apiVersion: v1kind: Podmetadata: name: init-demospec: volumes: - name: workdir #全局的volumes emptyDir: {} initContainers: - name: install image: busybox 阅读全文
posted @ 2023-04-04 15:20 人生信条~~ 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 我们知道 kubectl 是直接操作 APIServer 的,所以就相当于把我们的清单提交给了 APIServer,然后集群获取到清单描述的应用信息后存入到 etcd 数据库中,然后 kube-scheduler 组件发现这个时候有一个 Pod 还没有绑定到节点上,就会对这个 Pod 进行一系列的调 阅读全文
posted @ 2023-04-04 13:06 人生信条~~ 阅读(223) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 9 下一页