Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
c3fbec76
Commit
c3fbec76
authored
Jul 04, 2017
by
Eugene Pirogov
Committed by
GitHub
Jul 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly nest code blocks
Markdown code blocks are adjusted to better display on GitHub
parent
3823270b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
46 deletions
+45
-46
README.md
cluster/addons/cluster-loadbalancing/glbc/README.md
+45
-46
No files found.
cluster/addons/cluster-loadbalancing/glbc/README.md
View file @
c3fbec76
...
@@ -42,44 +42,43 @@ spec:
...
@@ -42,44 +42,43 @@ spec:
```
```
*
time, t=0
*
time, t=0
```
console
```console
$
kubectl get ing
$ kubectl get ing
NAME RULE BACKEND ADDRESS
NAME RULE BACKEND ADDRESS
test-ingress - default-http-backend:80
test-ingress - default-http-backend:80
$
kubectl describe ing
$ kubectl describe ing
No events.
No events.
```
```
*
time, t=1m
*
time, t=1m
```
console
```console
$
kubectl get ing
$ kubectl get ing
NAME RULE BACKEND ADDRESS
NAME RULE BACKEND ADDRESS
test-ingress - default-http-backend:80 130.211.5.27
test-ingress - default-http-backend:80 130.211.5.27
$
kubectl describe ing
$ kubectl describe ing
target-proxy: k8s-tp-default-test-ingress
target-proxy: k8s-tp-default-test-ingress
url-map: k8s-um-default-test-ingress
url-map: k8s-um-default-test-ingress
backends: {"k8s-be-32342":"UNKNOWN"}
backends: {"k8s-be-32342":"UNKNOWN"}
forwarding-rule: k8s-fw-default-test-ingress
forwarding-rule: k8s-fw-default-test-ingress
Events:
Events:
FirstSeen LastSeen Count From SubobjectPath Reason Message
FirstSeen LastSeen Count From SubobjectPath Reason Message
───────── ──────── ───── ──── ───────────── ────── ───────
───────── ──────── ───── ──── ───────────── ────── ───────
46s 46s 1 {loadbalancer-controller } Success Created loadbalancer 130.211.5.27
46s 46s 1 {loadbalancer-controller } Success Created loadbalancer 130.211.5.27
```
```
*
time, t=5m
*
time, t=5m
```
console
```console
$
kubectl describe ing
$ kubectl describe ing
target-proxy: k8s-tp-default-test-ingress
target-proxy: k8s-tp-default-test-ingress
url-map: k8s-um-default-test-ingress
url-map: k8s-um-default-test-ingress
backends: {"k8s-be-32342":"HEALTHY"}
backends: {"k8s-be-32342":"HEALTHY"}
forwarding-rule: k8s-fw-default-test-ingress
forwarding-rule: k8s-fw-default-test-ingress
Events:
Events:
FirstSeen LastSeen Count From SubobjectPath Reason Message
FirstSeen LastSeen Count From SubobjectPath Reason Message
───────── ──────── ───── ──── ───────────── ────── ───────
───────── ──────── ───── ──── ───────────── ────── ───────
46s 46s 1 {loadbalancer-controller } Success Created loadbalancer 130.211.5.27
46s 46s 1 {loadbalancer-controller } Success Created loadbalancer 130.211.5.27
```
```
## Disabling GLBC
## Disabling GLBC
...
@@ -87,20 +86,20 @@ Since GLBC runs as a cluster addon, you cannot simply delete the RC. The easiest
...
@@ -87,20 +86,20 @@ Since GLBC runs as a cluster addon, you cannot simply delete the RC. The easiest
*
IFF you want to tear down existing L7 loadbalancers, hit the /delete-all-and-quit endpoint on the pod:
*
IFF you want to tear down existing L7 loadbalancers, hit the /delete-all-and-quit endpoint on the pod:
```
console
```console
$
kubectl get pods
--namespace
=
kube-system
$ kubectl get pods --namespace=kube-system
NAME READY STATUS RESTARTS AGE
NAME READY STATUS RESTARTS AGE
l7-lb-controller-7bb21 1/1 Running 0 1h
l7-lb-controller-7bb21 1/1 Running 0 1h
$
kubectl
exec
l7-lb-controller-7bb21
-c
l7-lb-controller curl http://localhost:8081/delete-all-and-quit
--namespace
=
kube-system
$ kubectl exec l7-lb-controller-7bb21 -c l7-lb-controller curl http://localhost:8081/delete-all-and-quit --namespace=kube-system
$
kubectl logs l7-lb-controller-7b221
-c
l7-lb-controller
--follow
$ kubectl logs l7-lb-controller-7b221 -c l7-lb-controller --follow
...
...
I1007 00:30:00.322528 1 main.go:160] Handled quit, awaiting pod deletion.
I1007 00:30:00.322528 1 main.go:160] Handled quit, awaiting pod deletion.
```
```
*
Nullify the RC (but don't delete it or the addon controller will "fix" it for you)
*
Nullify the RC (but don't delete it or the addon controller will "fix" it for you)
```
console
```console
$
kubectl scale rc l7-lb-controller
--replicas
=
0
--namespace
=
kube-system
$ kubectl scale rc l7-lb-controller --replicas=0 --namespace=kube-system
```
```
## Limitations
## Limitations
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment