Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can we use istio sidecar and its loadbalancers #34

Closed
entrymon opened this issue Feb 6, 2021 · 6 comments
Closed

How can we use istio sidecar and its loadbalancers #34

entrymon opened this issue Feb 6, 2021 · 6 comments

Comments

@entrymon
Copy link

entrymon commented Feb 6, 2021

Where does istio fit in here, is there a way to configure it and use istio as sidecar and loadbalncer.

Also anyway no to install Wordpress and instead any other image?

@darxkies
Copy link
Owner

darxkies commented Feb 6, 2021

I did install Istio with k8s-tew for a project. But the overhead was so big in terms of resources consumed that I gave it up. I was thinking of integrating it into k8s-tew. I used the Istio Howto to install it.

I do not understand the second question. Do you want to install Wordpress but you want to use another image? If yes, you can use the k8s-tew configuration parameter to specify which image to be used.

@entrymon
Copy link
Author

entrymon commented Feb 9, 2021

Regarding
-1 Thanks, some components of istio and your setup overlap so was wondering how we can have both
-2 The question was instead of WordPress can we use any other image to test the setup? Or skip WordPress entirely.

@darxkies
Copy link
Owner

darxkies commented Feb 9, 2021

  1. Even if they are overlapping it should work just fine. If not let me know.
  2. To use another image for WordPress you need the the command:

k8s-tew configure --version-wordpress docker.io/library/wordpress:5.4-apache

You need to replace the last part with the image you want.

To skip WordPress altogether:

k8s-tew deploy --skip-showcase-setup

@darxkies
Copy link
Owner

darxkies commented Feb 9, 2021

If you have already installed WordPress you can remove the namespace showcase. That will wipe WordPress out.

@entrymon
Copy link
Author

I have a bare metal server with 16 cores and 64gb ram, is there any way using k8s-tew’s that I can create more than one node cluster on this hardware? If I use it as it is, it creates only 1 node with minikube I have the option to create --nodes=3.

@darxkies
Copy link
Owner

You need something like this. It creates a cluster of 5 nodes (3 controllers, 2 workers/storage). It also creates the Vagrant VMs for you.

https://github.com/darxkies/k8s-tew/blob/master/setup/ubuntu-multi-node/Makefile

But you can also use kvm or multipass or qemu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants