Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #########################################################################################
- Devstack Deployment
- Use /kuryr-kubernetes/devstack/local.conf.sample with changing OCTAVIA to False
- "
- # OCTAVIA
- KURYR_K8S_LBAAS_USE_OCTAVIA=False
- "
- ###############################################################################################
- kuryr-k8s GIT :
- [stack@drtrt kuryr-kubernetes]$ git log
- commit 5b3b02bb0b1d56ca83a1423d2434812a4b2b2c4d
- Author: Yossi Boaron <yossi.boaron.1234@gmail.com>
- Date: Sun Aug 27 12:27:18 2017 +0300
- Add support for service type=LoadBalancer
- Service loadbalancerIP could be one of the following :
- 1. loadbalancerIP allocated from pre-defined pool
- k8s service.spec.type = 'LoadBalancer'
- 2. loadbalancerIP specified by user
- k8s service.spec.type = 'LoadBalancer' and service.spec.loadBalancerIP='x.y.z.t'
- This commit extend service capability to support '1' and '2'
- Implements: blueprint k8s-service-type-loadbalancer
- Change-Id: I98f56692e143aa7ab14dd9920139819c7026acce
- commit f8a2021f5d8bebda2d45efe6b40522916a9adb49
- Merge: e74debf b268274
- Author: Zuul <zuul@review.openstack.org>
- Date: Sun Oct 1 10:32:05 2017 +0000
- Merge "Add Octavia L2 member mode support"
- commit e74debff62090bb7b6eb415cf97d81fd291e7db1
- Author: OpenStack Proposal Bot <openstack-infra@lists.openstack.org>
- Date: Wed Sep 27 13:41:21 2017 +0000
- Updated from global requirements
- Change-Id: I5c19809d0188200a393506c380b6311751627768
- commit c4b897262b2017ce3d1dd43665423d34afd6e056
- Merge: 637800b 0448547
- Author: Jenkins <jenkins@review.openstack.org>
- Date: Tue Sep 26 11:10:40 2017 +0000
- Merge "Fix local.conf.sample once again"
- commit b268274ee0c5e0092ff8431d133af0e7b69bf7e4
- Author: Luis Tomas Bolivar <ltomasbo@redhat.com>
- Date: Wed Aug 30 10:07:11 2017 +0000
- Add Octavia L2 member mode support
- This patch introduces the modifications needed to support
- L2 member mode communication between the loadbalancer and
- the pool members (i.e., the pods belonging to the service).
- =======================================================================================================
- # running the test
- #create floating IP in public-subnet
- [stack@drtrt devstack]$ openstack floating ip create --subnet 068043e0-ec0b-44c8-9e2f-28090315668a 206abbb0-3d34-402e-931e-c59b6020a893
- # allocated IP address was : 172.24.4.4
- ===========================================================================================================
- #Create k8s-service in both pool and user mode
- kubectl run --image=celebdor/kuryr-demo kuryr-demo901
- kubectl scale deploy/kuryr-demo901 --replicas=2
- kubectl expose deploy/kuryr-demo901 --port 80 --target-port 8080 --type=LoadBalancer
- kubectl run --image=celebdor/kuryr-demo kuryr-demo551
- kubectl scale deploy/kuryr-demo551 --replicas=2
- kubectl expose deploy/kuryr-demo551 --port 80 --target-port 8080 --type=LoadBalancer --load-balancer-ip=172.24.4.4
- [stack@drtrt devstack]$ kubectl get svc
- NAME CLUSTER-IP EXTERNAL-IP PORT(S) AGE
- kubernetes 10.0.0.129 <none> 443/TCP 6m
- kuryr-demo551 10.0.0.143 172.24.4.4 80:30492/TCP 29s
- kuryr-demo901 10.0.0.181 172.24.4.7 80:31951/TCP 44s
- [stack@drtrt devstack]$ curl 172.24.4.4
- kuryr-demo551-2553868779-sb255: HELLO, I AM ALIVE!!!
- [stack@drtrt devstack]$ curl 172.24.4.7
- kuryr-demo901-2349527529-jwds5: HELLO, I AM ALIVE!!!
- [stack@drtrt devstack]$ curl 172.24.4.7
- kuryr-demo901-2349527529-ck23x: HELLO, I AM ALIVE!!!
- [stack@drtrt devstack]$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement