摘要:
阅读全文
摘要:
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 阅读全文
摘要:
[root@uat-nanguaapp-mysql backup]# cat ~/.aws/config [profile all_sdk]region = us-west-1output = json [profile jfm_sdk]region = us-east-1output = json 阅读全文
摘要:
#!/usr/bin/python3import timeimport threadingimport subprocessimport multiprocessingfrom multiprocessing import Pool # -*- coding: utf-8 -*-date_dir = 阅读全文
摘要:
https://gist.github.com/5hmlA/2d25c4a5b2630a61826079b3f8ed6110 阅读全文
摘要:
{ "Version": "2012-10-17", "Id": "Policy1686715306459", "Statement": [ { "Sid": "Stmt1686715042068", "Effect": "Allow", "Principal": { "AWS": "arn:aws 阅读全文
摘要:
#!/bin/bash # 从文件中读取域名列表for i in `cat domain.txt`do registrar_url=$(whois $i | grep "Registrar WHOIS Server" |awk '{print $NF}') if [ "$registrar_url" 阅读全文
摘要:
# pod-prestop.yamlapiVersion: v1kind: Podmetadata: name: hook-demo2spec: containers: - name: hook-demo2 image: nginx lifecycle: preStop: exec: command 阅读全文
摘要:
pod的状态挂起(Pending):Pod 信息已经提交给了集群,但是还没有被调度器调度到合适的节点或者 Pod 里的镜像正在下载运行中(Running):该 Pod 已经绑定到了一个节点上,Pod 中所有的容器都已被创建。至少有一个容器正在运行,或者正处于启动或重启状态成功(Succeeded): 阅读全文
摘要:
apiVersion: v1kind: Podmetadata: name: init-demospec: volumes: - name: workdir #全局的volumes emptyDir: {} initContainers: - name: install image: busybox 阅读全文