How can I change microk8s kubernetes storage location on Windows?
This question was asked a few years ago but the answer is for Linux. They offer a Windows version and I'm wondering if there's a solution. I saw no option of it in the command line help options or on Google. Do I just need to switch to Linux for this option?
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed last year.
Improve this question
I have a FreeBSD 12.1-RELEASE server and a CentOS 7 server. Both run on amd64.
I would like to set up a cluster file system, that runs on both platforms well. It should have CentOS 7 packages and FreeBSD packages. The solutions should be open-source software and "free of use".
After a little research, I found the following, but nontheless I always encountered drawbacks:
MooseFS3: Works on FreeBSD and CentOS, has packages for both, but only the MooseFS3 Pro version, which is commercial, has the functionality of real cluster functionality such as the possibility of mounting the file system from several nodes. Also I had locking problems with files that where access by my dovecot imap server daemon, when I run dovecot from the file system.
GlusterFS: Seems to work well, but there are no packages for the most current version of 8.x for FreeBSD. FreeBSD provides only a port for GlusterFS 3.x as of today. Different versions of GlusterFS can not operate together.
Ceph: Is very complex to configure, and I couldn't execute all of the steps of the official FreeBSD documentation for it, since the tool ceph-disk is deprecated in favor of ceph-volume. With Ceph-volume, though, I could not get it running with my zfs pool on FreeBSD, since the plugin for zfs for ceph-volume seemed to have some Linux code in it when it was ported to FreeBSD or similiar, so it might only run with ZFSOnLinux on Linux itsself.
OCFS2: I don't have much experience with that one, but its releases seem a bit outdated.
Lustre: No packages for FreeBSD and no acurate and up-to-date documentation how to set it up on a recent FreeBSD system
BeeGFS (Fraunhofer): No packages for FreeBSD, only for Linux
Hadoop MapR filesystem: Has a use case more for BigData storage than for a UNIX cluster filesystem, I don't know if it has FreeBSD packages.
So I don't find a good solution for a Cluster filesystem that runs on both FreeBSD and CentOS Linux. Even I'm planning to migrate the CentOS server to Fedora Server, so it should run there as well.
Anyone who can recommend me a recent compatible cluster file system that I could use on both FreeBSD and CentOS/Fedora Server and that allows real cluster file system features like replication and HA?
Or is there currently no cluster filesystem that fulfills my needs and I have to migrate the two machines running the same OS?
Thank you in advance.
Best regards,
rforberger
MooseFS3: Works on FreeBSD and CentOS, has packages for both, but only the MooseFS3 Pro version, which is commercial, has the functionality of real cluster functionality such as the possibility of mounting the file system from several nodes.
This is not true, you can mount MooseFS Community from as many nodes as you wish.
Glusterfs may be worth to try, it is based on fuse, which is available on FreeBSD, so you need only to build the userspace part, which may not be impossible, if it is not available for you OS version. On Linux it is definitely the simplest one to set up, since it comes packaged with most of the distros.
Lustre, despite supporting replicated directories, is more of a parallel filesystem oriented to HPC and high I/O performances, than a clustered filesystem oriented at redundancy, so I would not even consider it if redundancy is your purpose.
I have no experience with the other ones.
Is it possible to build Kubernetes from source code on a windows machine?
As per development environment setup mentioned in https://github.com/kubernetes/community/blob/master/contributors/devel/development.md only supported OSs are Linux and MAC
Running build/run.sh shows below:
Unsupported host OS. Must be Linux or Mac OS X.
The simple answer is yes. Kubernetes source is in Go and there is Go compiler for Windows.
Another question would be, is it possible to be built easily? And that would be a 'no' (as of this writing) since you have already seen by running build/run.sh. So it's not supported by K8s officially.
I am a developer that used windows 10 and all my tools are installed in windows 10 such as atom, laragon, gitbash.
here's the scenario,
since I am using laragon as a server on windows 10, I put all my codes in c:/laragon/www. so that when i visit my website at localhost, codes found in www is located and serve to localhost.
now i try wsl on windows, when i installed lamp, my code should reside in /var/www/. the problem with this i can't use atom which is installed in windows to edit code found in /var/www.
my question is, since i been looking for good article at google that best discuss to setup php development using wsl.
What is the best way to setup lamp in wsl, and where should i put codes that easy for atom to edit.
sorry if i don't know this, because i really don't know, and i been looking for this for almost a month now.
I would highly advise against doing this.
Use WSL to mount C:\laragon\www and edit the files within the windows filesystem using atom but even then, it may be best to just completely use the windows environment.
Microsoft have issued warnings that you can edit windows files from inside WSL, but should not under any circumstances edit WSL/files within the ubuntu underlying filesystem from windows [1].
Speaking from experience on trying to set up web services, be it a MERN stack, meteor or a LAMP stack on WSL, I have also had a lot of issues with permissions on starting database services.
1 : https://blogs.msdn.microsoft.com/commandline/2016/11/17/do-not-change-linux-files-using-windows-apps-and-tools/
Steps to hosting LAMP in WSL with the files to be served in windows to be edited by windows tools;
Mount a windows directory (If you haven't already)
Update your Apache / LAMP stack configs to point at the mounted directory;
See this article for some good info. https://www.digitalocean.com/community/tutorials/how-to-move-an-apache-web-root-to-a-new-location-on-ubuntu-16-04
Restart Apache and if needed, other LAMP related services. (The above article covers this as the last step anyway)
I am working on an academic project and my aim is to install an Open Source Cloud (Paas) solution on my Centos 6 Server. Through which I will install open source application for academic purposes and more.
I am new to running a Linux Server command line. I will install my Cloud solution of Choice on a VirtualBox VM.
As of now I am narrowing down to DEIS, CLOUD FOUNDRY, FLYNN and OPEN SHIFT.
My Question is What Cloud Solution is Best for such implentation and what advice you have for a newbie with regards to this?
I had that same problem a few years ago. I ended up using Apache CloudStack because it was "open source". It's not the perfect solution but it gets the job done.
I have also used vBoxxCloud for a while. It's a SaaS tool so I don't know if you can use it. But it has a decent synctool which helps a lot.
I am learning MongoDB on Windows 7 machine with 4GB ram.
I installed MongoDB 3.2.Not possible to install vmware on my machine.
I would like to practice Cluster configuration/Sharding/Replication/mongodb ops center.
Is it possible to do on single windows machine.
Please share your suggestions.
Thanks & Regards,
try using containers like docker, it is lighter than virtual machine and will also add to your knowledge for knowing how to work with docker.
good luck.