View *shell*.txt
status:
conditions:
- lastTransitionTime: 2018-07-10T20:25:32Z
lastUpdateTime: 2018-07-10T20:25:32Z
message: Deployment does not have minimum availability.
reason: MinimumReplicasUnavailable
status: "False"
type: Available
- lastTransitionTime: 2018-07-10T20:25:32Z
lastUpdateTime: 2018-07-10T20:25:32Z
View integs.sh
set -m
go run ${KWSK_HOME}cmd/kwsk-server/main.go --port 8080 --istio $(minikube ip):32000 >kwsk.log 2>&1 &
KWSK_PID=$!
set +m
View *shell*.txt
ps -fj
UID PID PPID PGID SID C STIME TTY TIME CMD
jim 390 3616 390 390 0 Jun28 pts/3 00:00:00 /bin/bash --noediting -i
jim 28275 390 28275 390 0 09:41 pts/3 00:00:00 /bin/bash ./test/bin/integs.sh
jim 28279 28275 28275 390 0 09:41 pts/3 00:00:01 go run cmd/kwsk-server/main.go --port 8080 --istio 192.168.39.115:32000
jim 28430 28279 28275 390 0 09:41 pts/3 00:00:00 /tmp/go-build027040876/b001/exe/main --port 8080 --istio 192.168.39.115:32000
jim 29184 28275 28275 390 0 09:43 pts/3 00:00:00 ps -fj
kill -- "-$KWSK_PID"
./test/bin/integs.sh: line 24: kill: (-28279) - No such process
View *Man kill*.txt
ARGUMENTS
The list of processes to be signaled can be a mixture of names and pids.
pid Each pid can be one of four things:
n where n is larger than 0. The process with pid n is signaled.
0 All processes in the current process group are signaled.
-1 All processes with a pid larger than 1 are signaled.
View *foo*.txt
ps -f
UID PID PPID C STIME TTY TIME CMD
travis 2089 2088 0 00:15 pts/0 00:00:00 bash /home/travis/build.sh
travis 2715 2089 0 00:15 pts/0 00:00:00 bash /home/travis/build.sh
travis 2731 2715 0 00:15 pts/0 00:00:08 ruby /home/travis/filter.rb -e SECRET_0
travis 14558 2089 0 00:21 pts/0 00:00:00 /bin/bash ./bin/integs.sh ../../projectodd/kwsk/
travis 14935 14558 0 00:21 pts/0 00:00:03 go run ../../projectodd/kwsk/cmd/kwsk-server/main.go --port 8080 --istio 10.20.1.59:32000
travis 16917 14935 0 00:23 pts/0 00:00:01 /tmp/go-build760931525/b001/exe/main --port 8080 --istio 10.20.1.59:32000
travis 28021 14558 0 00:30 pts/0 00:00:00 ps -f
kill -- "-$KWSK_PID"
View *shell*.txt
[jim@localhost kwsk]$ kubectl get services -oyaml
apiVersion: v1
items:
- apiVersion: v1
kind: Service
metadata:
creationTimestamp: 2018-06-28T19:46:24Z
name: hello-service
namespace: default
ownerReferences:
View *shell*.txt
[jim@localhost kwsk]$ wsk -v action invoke hello -p foo bar
REQUEST:
[POST] http://127.0.0.1:8080/api/v1/namespaces/_/actions/hello?blocking=false&result=false
Req Headers
{
"Authorization": [
"Basic OTYxOGY2ZTUtMThhNS00ODQxLTg4NDQtMjA1YzA0MGYxZDE3Okh3aHpSVTdYTUJQT2t1bVhkM205TkRrVGdQTTVhTDNSMU9IdUk3SWt3MHI1UHZPY0hHanN5ajRvWTZyZkJEVnk="
],
"Content-Type": [
"application/json"
View apiv1swagger.json
"definitions": {
"KeyValue": {
"required": [
"key",
"value"
],
"properties": {
"key": {
"type": "string"
},
View *shell*.txt
[jim@localhost kwsk]$ dep ensure --update
Warning: Gopkg.lock is out of sync with Gopkg.toml or the project's imports.
Solving failure: No versions of github.com/knative/serving met constraints:
master: Could not introduce github.com/knative/serving@master, as it has a dependency on github.com/knative/build with constraint 5dba97ea172464d6459c393330ffba2152ec78dd, which does not allow the currently selected version of master
steren-patch-1: Could not introduce github.com/knative/serving@steren-patch-1, as it is not allowed by constraint master from project github.com/projectodd/kwsk.
[jim@localhost kwsk]$
View *shell*.txt
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
annotations:
kubernetes.io/ingress.class: istio
creationTimestamp: 2018-06-20T18:08:42Z
generation: 1
name: git-webhook-ingress
namespace: default
ownerReferences: