Follow on notes from blog
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
| { | |
| "listeners": [ | |
| { | |
| "address": "tcp://0.0.0.0:80", | |
| "filters": [ | |
| { | |
| "type": "read", | |
| "name": "http_connection_manager", | |
| "config": { | |
| "codec_type": "auto", |
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: v1 | |
| kind: List | |
| items: | |
| - apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| annotations: | |
| fabric8.io/git-commit: 60913007cec7ab723f7bd4b9dad083a85b163fa8 | |
| fabric8.io/git-branch: ceposta-istio |
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
| # GENERATED FILE. Use with Kubernetes 1.5+ | |
| # TO UPDATE, modify files in install/kubernetes/templates and run updateVersion.sh | |
| # Mixer | |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: istio-mixer | |
| labels: | |
| istio: mixer | |
| spec: |
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
| diff --git a/install/kubernetes/istio.yaml b/install/kubernetes/istio.yaml | |
| index af821aa..9602e75 100644 | |
| --- a/install/kubernetes/istio.yaml | |
| +++ b/install/kubernetes/istio.yaml | |
| @@ -57,6 +57,7 @@ data: | |
| mixerAddress: istio-mixer:9091 | |
| discoveryAddress: istio-manager:8080 | |
| ingressService: istio-ingress | |
| + zipkinAddress: zipkin:9411 | |
| --- |
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: v1 | |
| kind: Service | |
| metadata: | |
| name: zipkin | |
| labels: | |
| infra: zipkin | |
| spec: | |
| type: NodePort | |
| ports: | |
| - port: 9411 |
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
| panic: runtime error: invalid memory address or nil pointer dereference | |
| [signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x1e5acb6] | |
| goroutine 1 [running]: | |
| main.glob..func1(0x2941960, 0xc420433b80, 0x0, 0x2, 0x0, 0x0) | |
| /home/jenkins/workspace/manager/presubmit/src/istio.io/manager/cmd/istioctl/inject.go:88 +0xc6 | |
| istio.io/manager/vendor/github.com/spf13/cobra.(*Command).execute(0x2941960, 0xc4204339a0, 0x2, 0x2, 0x2941960, 0xc4204339a0) | |
| /home/jenkins/workspace/manager/presubmit/src/istio.io/manager/vendor/github.com/spf13/cobra/command.go:599 +0x3e9 | |
| istio.io/manager/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0x2941b80, 0x0, 0xc4202e6ec0, 0x1) | |
| /home/jenkins/workspace/manager/presubmit/src/istio.io/manager/vendor/github.com/spf13/cobra/command.go:689 +0x339 |
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: v1 | |
| kind: List | |
| items: | |
| - apiVersion: v1 | |
| kind: Secret | |
| metadata: | |
| labels: | |
| provider: fabric8 | |
| group: io.fabric8.devops.apps |
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
| node('maven') { | |
| stage 'checkout' | |
| git url: 'http://gogs-obsidian.paas.rdu.salab.redhat.com/gogsadmin/demo.git', branch: 'master' | |
| stage 'build-app' | |
| sh "mvn clean package -Dtest=false -DfailIfNoTests=false -DskipITs" | |
| stash name:"build-context", includes:"target/*.jar" | |
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
| so... first make a dir $ROOT_DIR | |
| then make $ROOT_DIR/deployments | |
| copy spring-boot.jar to $ROOT_DIR/deployments | |
| then from $ROOT_DIR run this: | |
| oc import-image --from=fabric8/s2i-java:1.3 s2i-java --confirm | |
| oc new-build --binary=true --strategy=source --image-stream=s2i-java --name=sample-foo | |
| oc start-build sample-foo --from-dir=. |