text stringlengths 0 59.1k |
|---|
... |
mem-besteffort-zpnpm 0/1 CrashLoopBackOff 4 3m |
mem-burstable-n0yz1 1/1 Running 0 4m |
mem-burstable-q3dts 1/1 Running 0 4m |
mem-guaranteed-fqsw8 1/1 Running 0 4m |
mem-guaranteed-rkqso 1/1 Running 0 4m |
``` |
You see that our BestEffort pod goes in a restart cycle, but the pods with greater levels of quality of service continue to function. |
As you can see, we rely on the Kernel to react to system OOM events. Depending on how your host operating |
system was configured, and which process the Kernel ultimately decides to kill on your Node, you may experience unstable results. In addition, during an OOM event, while the kernel is cleaning up processes, the system may experience significant periods of slow down or appear unresponsive. As a result, while the syste... |
<|endoftext|> |
# source: k8s_examples/_archived/explorer/pod.yaml type: yaml |
apiVersion: v1 |
kind: Pod |
metadata: |
name: explorer |
spec: |
containers: |
- name: explorer |
image: registry.k8s.io/explorer:1.0 |
args: ["-port=8080"] |
ports: |
- containerPort: 8080 |
protocol: TCP |
volumeMounts: |
- mountPath: "/mount/test-volume" |
name: test-volume |
volumes: |
- name: test-volume |
emptyDir: {} |
<|endoftext|> |
# source: k8s_examples/_archived/explorer/README.md type: docs |
### explorer |
Explorer is a little container for examining the runtime environment Kubernetes produces for your pods. |
The intended use is to substitute registry.k8s.io/explorer for your intended container, and then visit it via the proxy. |
Currently, you can look at: |
* The environment variables to make sure Kubernetes is doing what you expect. |
* The filesystem to make sure the mounted volumes and files are also what you expect. |
* Perform DNS lookups, to see how DNS works. |
`pod.yaml` is supplied as an example. You can control the port it serves on with the -port flag. |
Example from command line (the DNS lookup looks better from a web browser): |
```console |
$ kubectl create -f examples/explorer/pod.yaml |
$ kubectl proxy & |
Starting to serve on localhost:8001 |
$ curl localhost:8001/api/v1/proxy/namespaces/default/pods/explorer:8080/vars/ |
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
HOSTNAME=explorer |
KIBANA_LOGGING_PORT_5601_TCP_PORT=5601 |
KUBERNETES_SERVICE_HOST=10.0.0.2 |
MONITORING_GRAFANA_PORT_80_TCP_PROTO=tcp |
MONITORING_INFLUXDB_UI_PORT_80_TCP_PROTO=tcp |
KIBANA_LOGGING_SERVICE_PORT=5601 |
MONITORING_HEAPSTER_PORT_80_TCP_PORT=80 |
MONITORING_INFLUXDB_UI_PORT_80_TCP_PORT=80 |
KIBANA_LOGGING_SERVICE_HOST=10.0.204.206 |
KIBANA_LOGGING_PORT_5601_TCP=tcp://10.0.204.206:5601 |
KUBERNETES_PORT=tcp://10.0.0.2:443 |
MONITORING_INFLUXDB_PORT=tcp://10.0.2.30:80 |
MONITORING_INFLUXDB_PORT_80_TCP_PROTO=tcp |
MONITORING_INFLUXDB_UI_PORT=tcp://10.0.36.78:80 |
KUBE_DNS_PORT_53_UDP=udp://10.0.0.10:53 |
MONITORING_INFLUXDB_SERVICE_HOST=10.0.2.30 |
ELASTICSEARCH_LOGGING_PORT=tcp://10.0.48.200:9200 |
ELASTICSEARCH_LOGGING_PORT_9200_TCP_PORT=9200 |
KUBERNETES_PORT_443_TCP=tcp://10.0.0.2:443 |
ELASTICSEARCH_LOGGING_PORT_9200_TCP_PROTO=tcp |
KIBANA_LOGGING_PORT_5601_TCP_ADDR=10.0.204.206 |
KUBE_DNS_PORT_53_UDP_ADDR=10.0.0.10 |
MONITORING_HEAPSTER_PORT_80_TCP_PROTO=tcp |
MONITORING_INFLUXDB_PORT_80_TCP_ADDR=10.0.2.30 |
KIBANA_LOGGING_PORT=tcp://10.0.204.206:5601 |
MONITORING_GRAFANA_SERVICE_PORT=80 |
MONITORING_HEAPSTER_SERVICE_PORT=80 |
MONITORING_HEAPSTER_PORT_80_TCP=tcp://10.0.150.238:80 |
ELASTICSEARCH_LOGGING_PORT_9200_TCP=tcp://10.0.48.200:9200 |
ELASTICSEARCH_LOGGING_PORT_9200_TCP_ADDR=10.0.48.200 |
MONITORING_GRAFANA_PORT_80_TCP_PORT=80 |
MONITORING_HEAPSTER_PORT=tcp://10.0.150.238:80 |
MONITORING_INFLUXDB_PORT_80_TCP=tcp://10.0.2.30:80 |
KUBE_DNS_SERVICE_PORT=53 |
KUBE_DNS_PORT_53_UDP_PORT=53 |
MONITORING_GRAFANA_PORT_80_TCP_ADDR=10.0.100.174 |
MONITORING_INFLUXDB_UI_SERVICE_HOST=10.0.36.78 |
KIBANA_LOGGING_PORT_5601_TCP_PROTO=tcp |
MONITORING_GRAFANA_PORT=tcp://10.0.100.174:80 |
MONITORING_INFLUXDB_UI_PORT_80_TCP_ADDR=10.0.36.78 |
KUBE_DNS_SERVICE_HOST=10.0.0.10 |
KUBERNETES_PORT_443_TCP_PORT=443 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.