[nginx-static-app@master %] $ ./launch-task.sh exit-code-pod.yml
[nginx-static-app@master %] $ echo $?
123
This file contains 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
{ | |
"annotations": { | |
"list": [ | |
{ | |
"builtIn": 1, | |
"datasource": "-- Grafana --", | |
"enable": true, | |
"hide": true, | |
"iconColor": "rgba(0, 211, 255, 1)", | |
"name": "Annotations & Alerts", |
This file contains 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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
generateName: zddbench- | |
spec: | |
restartPolicy: Never | |
containers: | |
- image: cowbell/zddbench:latest | |
name: zddbench | |
restartPolicy: Never |
This file contains 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
#!ipxe | |
set base-url http://stable.release.core-os.net/amd64-usr/current | |
kernel ${base-url}/coreos_production_pxe.vmlinuz initrd=coreos_production_pxe_image.cpio.gz coreos.first_boot=1 coreos.config.url=https://example.com/pxe-config.ign | |
initrd ${base-url}/coreos_production_pxe_image.cpio.gz | |
boot |
Enclosure diagrams use containment to represent the hierarchy. Although circle packing is not as space-efficient as a treemap, it better reveals the hierarchy. Implementation based on work by Jeff Heer. Data shows the Flare class hierarchy, also courtesy Jeff Heer.
See also this zoomable version.
This file contains 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
export PASSWORD=winter32 |
This file contains 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
#!/usr/bin/env python | |
import boto | |
BUCKET_NAME = "YOUR-BUCKET-NAME" | |
DELETE_DATES = [ | |
"2016-01-01", | |
"2016-01-02", | |
"2016-01-03", | |
"2016-01-04", | |
"2016-01-05", |
####Techniques
- Adopt
- Structured logging DaGai, log in JSON, do cool shit with it. Show a real ELK setup.
- Trail
- Canary Build "Continuous integration" for 3rd party libraries
- build pipeline for machine images How most REA build pipelines work already. Packer?
- Pace-layered Application Strategy
This file contains 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
<?php | |
Class YourClientClass | |
{ | |
protected function getBeanstalkConnection( $RetryCount = 0 ) | |
{ | |
$this -> getLogger() -> Notice( "getBeanstalkConnection ( $RetryCount attempt )" ); | |
try | |
{ | |
$BS = MyFactory::getBeanstalk(); |