Character code (character) | Duration (ms) | Alias to | Pronounced as |
---|---|---|---|
27 (�) | 656 | None | Escape |
33 (!) | 1333 | None | Exclamation mark |
35 (#) | 409 | None | Hash |
36 ($) | 425 | None | Dollar |
37 (%) | 631 | None | Percent |
38 (&) | 329 | None | And |
43 (+) | 396 | None | Plus |
45 (-) | 706 | None | Dash |
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
for ns in `kubectl get namespaces | awk '/Terminating/ NR>1 {print $1}'`; \ | |
do kubectl get namespace ${ns} -o json | tr -d "\n" | \ | |
sed "s/\"finalizers\": \[[^]]\+\]/\"finalizers\": []/" | \ | |
kubectl replace --raw /api/v1/namespaces/${ns}/finalize -f -; done; |
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
package main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
// Name of the struct tag used in examples | |
const tagName = "validate" |
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
# DOES NOT WORK | |
package main | |
import ( | |
pgov1 "github.com/crunchydata/postgres-operator/pkg/apis/postgres-operator.crunchydata.com/v1beta1" | |
"log" | |
) | |
func main() { | |
pgcs := &pgov1.PgclusterSpec{} |
Responding to requests via simple route matching is built in to Go's net/http
standard library package. Just register the path prefixes and callbacks you want invoked and then call the ListenAndServe
to have the default request handler invoked on each request. For example:
package main
import (
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
[ | |
{ | |
"id": "1", | |
"name": "aci-containers-operator", | |
"starttime": "starttime", | |
"endttime": "endtime", | |
"install": true, | |
"operand": [ | |
{ | |
"install": true |
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
apiVersion: apiextensions.k8s.io/v1beta1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: cassandradatacenters.cassandra.datastax.com | |
spec: | |
group: cassandra.datastax.com | |
names: | |
kind: CassandraDatacenter | |
listKind: CassandraDatacenterList | |
plural: cassandradatacenters |
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
apiVersion: apiextensions.k8s.io/v1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: servicediscoveries.submariner.io | |
spec: | |
group: submariner.io | |
names: | |
kind: ServiceDiscovery | |
listKind: ServiceDiscoveryList | |
plural: servicediscoveries |
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
apiVersion: apiextensions.k8s.io/v1 | |
kind: CustomResourceDefinition | |
metadata: | |
name: submariners.submariner.io | |
spec: | |
group: submariner.io | |
names: | |
kind: Submariner | |
listKind: SubmarinerList | |
plural: submariners |
https://aws.amazon.com/getting-started/tutorials/create-network-file-system/
skip sections 2, 3, and 5
you will need to connect to your nodes (master(s), worker(s)) to mount the filesystem
bootstrap node is used but if not you will need to create an instance within the VPC your openshift cluster lives in to access your openshift machines
https://github.com/kubernetes-incubator/external-storage/tree/master/nfs-client
---
kind: ServiceAccount
NewerOlder