This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
types: [opened, reopened, ready_for_review] | |
issue_comment: | |
jobs: | |
pr_agent_job: | |
if: ${{ github.event.sender.type != 'Bot' }} | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class WatsonxInstrumentor(BaseInstrumentor): | |
"""An instrumentor for Watsonx's client library.""" | |
def instrumentation_dependencies(self) -> Collection[str]: | |
return _instruments | |
def _instrument(self, **kwargs): | |
print("calling instrument") | |
tracer_provider = kwargs.get("tracer_provider") | |
tracer = get_tracer(__name__, __version__, tracer_provider) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@jupiter-vm1254:/# tcpdump -nn host 10.1.103.192 | |
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode | |
listening on tunl0, link-type RAW (Raw IP), capture size 262144 bytes | |
05:35:39.908731 IP 10.1.103.192.33148 > 10.1.228.196.80: Flags [S], seq 1406795194, win 27800, options [mss 1390,sackOK,TS val 299880142 ecr 0,nop,wscale 7], length 0 | |
05:35:39.909613 IP 10.1.228.196.80 > 10.1.103.192.33148: Flags [S.], seq 565181304, ack 1406795195, win 28960, options [mss 1460,sackOK,TS val 119945795 ecr 299880142,nop,wscale 7], length 0 | |
05:35:39.909638 IP 10.1.103.192.33148 > 10.1.228.196.80: Flags [.], ack 1, win 218, options [nop,nop,TS val 299880142 ecr 119945795], length 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ingress controller | |
``` | |
[ubuntu@perfbriggs3 fs]$ kc -n kube-system get ds nginx-ingress-lb-ppc64le -oyaml | |
apiVersion: extensions/v1beta1 | |
kind: DaemonSet | |
metadata: | |
annotations: | |
kubectl.kubernetes.io/last-applied-configuration: | | |
{"apiVersion":"extensions/v1beta1","kind":"DaemonSet","metadata":{"annotations":{},"name":"nginx-ingress-lb-ppc64le","namespace":"kube-system"},"spec":{"minReadySeconds":0,"template":{"metadata":{"labels":{"arch":"ppc64le","name":"nginx-ingress-lb"}},"spec":{"containers":[{"args":["/nginx-ingress-controller","--default-backend-service=$(POD_NAMESPACE)/default-http-backend","--configmap=$(POD_NAMESPACE)/nginx-load-balancer-conf"],"env":[{"name":"POD_NAME","valueFrom":{"fieldRef":{"fieldPath":"metadata.name"}}},{"name":"POD_NAMESPACE","valueFrom":{"fieldRef":{"fieldPath":"metadata.namespace"}}}],"image":"ibmcom/nginx-ingress-controller-ppc64le:0.9.0-beta.13","imagePullPolicy":"IfNotPresent","livenessProbe":{"httpGet":{"path":"/healthz","port":10254,"scheme":"HTTP"},"initialDel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://[email protected]/repos/asf/mesos.git | |
https://reference.apache.org/committer/git#committers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://feisky.xyz/k8s/ | |
go test -v k8s.io/kubernetes/pkg/kubelet | |
http://kubernetes.kansea.com/docs/admin/multi-cluster/ | |
http://kubernetes.io/docs/user-guide/service-accounts/ | |
https://helm.sh/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ELKF: http://www.linuxidc.com/Linux/2016-06/132616.htm | |
http://blog.csdn.net/hiyun9/article/details/51602428 | |
[root@kvm ~]# yum install httpd | |
[root@kvm ~]# echo "<html>10.0.0.137</html>" > /var/www/html/index.html | |
[root@lvs-backup ~]# yum install httpd | |
[root@lvs-backup~]# echo "<html>10.0.0.111</html>" > /var/www/html/index.html | |
2.看下效果: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://docs.docker.com/engine/admin/systemd/ | |
Many Linux distributions use systemd to start the Docker daemon. This document shows a few examples of how to customize Docker’s settings. | |
Starting the Docker daemon | |
Once Docker is installed, you will need to start the Docker daemon. | |
$ sudo systemctl start docker | |
# or on older distributions, you may need to use | |
$ sudo service docker start | |
If you want Docker to start at boot, you should also: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply vm https://selfserv.eng.platformlab.ibm.com/ | |
cat /etc/systemd/system/docker.service.d/http-proxy.conf | |
[Service] | |
Environment="HTTP_PROXY=http://ma1demo2:8123" | |
Environment="HTTPS_PROXY=http://ma1demo2:8123" | |
Environment="NO_PROXY=ma1dock1.platformlab.ibm.com,localhost" | |
vim ~/.ssh/config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/kubernetes/community/blob/master/contributors/devel/development.md | |
KUBE_ENABLE_CLUSTER_DNS=true | |
KUBE_DNS_SERVER_IP="10.0.0.10" | |
KUBE_DNS_DOMAIN="cluster.local" | |
./hack/local-up-cluster.sh -O | |
git remote add upstream https://github.com/kubernetes/community | |
111 git fetch upstream |
NewerOlder