-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
v1.5 ISO: mysqld failed while attempting to check config: command was: mysqld --verbose --help #5751
Comments
Interesting. I'm surprised MySQLd isn't logging more of an error than that. I searched for the string and found other issues where a containerized MySQL mentioned a specific error message:
There isn't anything specific to minikube that should prevent MySQLd from running that I can think of. I'd be curious if anyone has any clues here. Help wanted! |
Tried on local machine Ubuntu 19.04. All working fine. Using the same parameter (virtualbox and memory size as specified in the OP post)
|
Thanks for your reply and help so far! Btw, I've just tried Minikube version The
v1.4.0
v1.5.0
|
I have the exact same issue (though working with |
Same for me |
Thanks for the updates. If someone is able to duplicate this, this will almost certainly point to the root cause:
You may need to install the strace package into the container first. I would have expected I believe this will workaround the issue in the meantime:
|
I investigated this issue. And I got output from following custom image.
I hope this helps.
strace -f mysqld --verbose --help 'execve("/usr/sbin/mysqld", ["mysqld", "--verbose", "--help"], [/* 29 vars /]) = 0 brk(NULL) = 0x55b939d88000 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=8740, ...}) = 0 mmap(NULL, 8740, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f4070b76000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0Pa\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=135440, ...}) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b74000 mmap(NULL, 2212936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4070739000 mprotect(0x7f4070751000, 2093056, PROT_NONE) = 0 mmap(0x7f4070950000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f4070950000 mmap(0x7f4070952000, 13384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4070952000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libaio.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20\6\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=5552, ...}) = 0 mmap(NULL, 2101264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f4070537000 mprotect(0x7f4070538000, 2093056, PROT_NONE) = 0 mmap(0x7f4070737000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0x7f4070737000 mmap(0x7f4070738000, 16, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f4070738000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/usr/lib/x86_64-linux-gnu/libnuma.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\00003\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=44192, ...}) = 0 mmap(NULL, 2140320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f407032c000 mprotect(0x7f4070336000, 2093056, PROT_NONE) = 0 mmap(0x7f4070535000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x9000) = 0x7f4070535000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libcrypt.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0p\v\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=39256, ...}) = 0 mmap(NULL, 2322912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f40700f4000 mprotect(0x7f40700fc000, 2097152, PROT_NONE) = 0 mmap(0x7f40702fc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x8000) = 0x7f40702fc000 mmap(0x7f40702fe000, 184800, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f40702fe000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200\r\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=14640, ...}) = 0 mmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fef0000 mprotect(0x7f406fef3000, 2093056, PROT_NONE) = 0 mmap(0x7f40700f2000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f40700f2000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/librt.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340 \0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=31744, ...}) = 0 mmap(NULL, 2128832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fce8000 mprotect(0x7f406fcef000, 2093056, PROT_NONE) = 0 mmap(0x7f406feee000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f406feee000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/usr/lib/x86_64-linux-gnu/libatomic.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\35\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=26768, ...}) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b72000 mmap(NULL, 2125960, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406fae0000 mprotect(0x7f406fae6000, 2093056, PROT_NONE) = 0 mmap(0x7f406fce5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5000) = 0x7f406fce5000 mmap(0x7f406fce7000, 136, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406fce7000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/usr/lib/x86_64-linux-gnu/libstdc++.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\340\267\10\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=1566168, ...}) = 0 mmap(NULL, 3674720, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f75e000 mprotect(0x7f406f8d0000, 2097152, PROT_NONE) = 0 mmap(0x7f406fad0000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x172000) = 0x7f406fad0000 mmap(0x7f406fadc000, 12896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406fadc000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libm.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\200V\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=1063328, ...}) = 0 mmap(NULL, 3158248, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f45a000 mprotect(0x7f406f55d000, 2093056, PROT_NONE) = 0 mmap(0x7f406f75c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0x7f406f75c000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\220\0\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0644, st_size=92584, ...}) = 0 mmap(NULL, 2188336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406f243000 mprotect(0x7f406f259000, 2093056, PROT_NONE) = 0 mmap(0x7f406f458000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f406f458000 close(3) = 0 access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory) open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3 read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\0\4\2\0\0\0\0\0"..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1689360, ...}) = 0 mmap(NULL, 3795296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f406eea4000 mprotect(0x7f406f039000, 2097152, PROT_NONE) = 0 mmap(0x7f406f239000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x195000) = 0x7f406f239000 mmap(0x7f406f23f000, 14688, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f406f23f000 close(3) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b70000 mmap(NULL, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4070b6d000 arch_prctl(ARCH_SET_FS, 0x7f4070b6d740) = 0 mprotect(0x7f406f239000, 16384, PROT_READ) = 0 mprotect(0x7f406f458000, 4096, PROT_READ) = 0 mprotect(0x7f406f75c000, 4096, PROT_READ) = 0 mprotect(0x7f406fad0000, 40960, PROT_READ) = 0 mprotect(0x7f4070950000, 4096, PROT_READ) = 0 mprotect(0x7f406fce5000, 4096, PROT_READ) = 0 mprotect(0x7f406feee000, 4096, PROT_READ) = 0 mprotect(0x7f40700f2000, 4096, PROT_READ) = 0 mprotect(0x7f40702fc000, 4096, PROT_READ) = 0 mprotect(0x7f4070535000, 4096, PROT_READ) = 0 mprotect(0x7f4070737000, 4096, PROT_READ) = 0 mprotect(0x55b939515000, 1110016, PROT_READ) = 0 mprotect(0x7f4070b79000, 4096, PROT_READ) = 0 munmap(0x7f4070b76000, 8740) = 0 set_tid_address(0x7f4070b6da10) = 14 set_robust_list(0x7f4070b6da20, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7f407073ebd0, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f407074a0e0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7f407073ec60, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f407074a0e0}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=81921024, rlim_max=RLIM64_INFINITY}) = 0 brk(NULL) = 0x55b939d88000 brk(0x55b939dba000) = 0x55b939dba000 open("/proc/self/status", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 read(3, "Name:\tmysqld\nUmask:\t0022\nState:\t"..., 1024) = 1004 close(3) = 0 open("/sys/devices/system/node", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 getdents(3, / 10 entries /, 32768) = 312 open("/sys/devices/system/node/node0/meminfo", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0444, st_size=4096, ...}) = 0 read(4, "Node 0 MemTotal: 1985744 "..., 4096) = 965 read(4, "", 4096) = 0 close(4) = 0 getdents(3, / 0 entries /, 32768) = 0 close(3) = 0 sched_getaffinity(0, 512, [0, 1]) = 8 open("/sys/devices/system/cpu", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0 getdents(3, / 18 entries /, 32768) = 544 getdents(3, / 0 entries /, 32768) = 0 close(3) = 0 open("/proc/self/status", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 read(3, "Name:\tmysqld\nUmask:\t0022\nState:\t"..., 1024) = 1004 read(3, "", 1024) = 0 close(3) = 0 futex(0x7f406fadd03c, FUTEX_WAKE_PRIVATE, 2147483647) = 0 futex(0x7f406fadd048, FUTEX_WAKE_PRIVATE, 2147483647) = 0 stat("/etc/my.cnf", 0x7ffe9e3e2780) = -1 ENOENT (No such file or directory) stat("/etc/mysql/my.cnf", {st_mode=S_IFREG|0644, st_size=1215, ...}) = 0 open("/etc/mysql/my.cnf", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=1215, ...}) = 0 read(3, "# Copyright (c) 2016, Oracle and"..., 4096) = 1215 open("/etc/mysql/conf.d/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4 fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 brk(0x55b939ddc000) = 0x55b939ddc000 getdents(4, / 5 entries /, 32768) = 152 getdents(4, / 0 entries /, 32768) = 0 close(4) = 0 stat("/etc/mysql/conf.d/docker.cnf", {st_mode=S_IFREG|0644, st_size=43, ...}) = 0 open("/etc/mysql/conf.d/docker.cnf", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=43, ...}) = 0 read(4, "[mysqld]\nskip-host-cache\nskip-na"..., 4096) = 43 read(4, "", 4096) = 0 close(4) = 0 stat("/etc/mysql/conf.d/mysql.cnf", {st_mode=S_IFREG|0644, st_size=8, ...}) = 0 open("/etc/mysql/conf.d/mysql.cnf", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=8, ...}) = 0 read(4, "[mysql]\n", 4096) = 8 read(4, "", 4096) = 0 close(4) = 0 stat("/etc/mysql/conf.d/mysqldump.cnf", {st_mode=S_IFREG|0644, st_size=55, ...}) = 0 open("/etc/mysql/conf.d/mysqldump.cnf", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=55, ...}) = 0 read(4, "[mysqldump]\nquick\nquote-names\nma"..., 4096) = 55 read(4, "", 4096) = 0 close(4) = 0 brk(0x55b939dd2000) = 0x55b939dd2000 brk(0x55b939dca000) = 0x55b939dca000 open("/etc/mysql/mysql.conf.d/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 4 fstat(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 getdents(4, / 3 entries /, 32768) = 80 getdents(4, / 0 entries */, 32768) = 0 close(4) = 0 stat("/etc/mysql/mysql.conf.d/mysqld.cnf", {st_mode=S_IFREG|0644, st_size=1610, ...}) = 0 open("/etc/mysql/mysql.conf.d/mysqld.cnf", O_RDONLY) = 4 fstat(4, {st_mode=S_IFREG|0644, st_size=1610, ...}) = 0 read(4, "# Copyright (c) 2014, 2016, Orac"..., 4096) = 1610 read(4, "", 4096) = 0 close(4) = 0 read(3, "", 4096) = 0 close(3) = 0 brk(0x55b939dc9000) = 0x55b939dc9000 stat("/root/.my.cnf", 0x7ffe9e3e2780) = -1 ENOENT (No such file or directory) getrlimit(RLIMIT_NOFILE, {rlim_cur=1073741816, rlim_max=1073741816}) = 0 mmap(NULL, 17179869184, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3c6eea4000 +++ killed by SIGKILL +++'
I think this is root cause...
|
An mmap followed by a SIGKILL seems very suspicious. I'm betting that the Linux kernel OOM killer is killing this process, or possibly the kubelet.
This is apparently mmap'ing 17GB of data in, which in itself, isn't too crazy - however, mysqld is specifying
Could someone who has tried this include the output of If the OOM killer is responsible, it isn't clear what the right way forward is. The OOM killer in the v4.19 kernel is vastly improved over previous versions, and downgrading it isn't a good long-term option. One possible workaround (albeit with some negative consequences) to test is:
|
@tstromberg The suggested workaround is not working for me |
@DimitrijeManic - Sorry, I should have noted that you will need to first run |
@tstromberg I've done as you suggested but the error still persists
Running minikube logs, I see a single error at the bottom, could this be related?
|
@tstromberg Going further up the log stack I see something relating to OOM
|
This suggests it is related to ulimit: |
@DimitrijeManic - Thank you for confirming my suspicions!
It's not clear to me what changed to OOM accounting between Linux 4.15 and 4.19, but my guess is the root cause lies there. I do understand that 4.15 did not have a cgroups aware OOM killer though, but this seems like something more basic. Here is the fixed command-line to adjust overcommit as a possible workaround:
@afbjorklund That would support the seemingly unrelated
Perhaps the best hint to MySQL would be setting a lower RLIMIT_NOFILE limit. |
Digging around, I see that the v1.4.0 ISO had a lower rlimit:
Whereas v1.5.0 has:
That would indicate to me that this is a good possible workaround for the MySQLd issue:
Could someone confirm that this works for them? |
@tstromberg running |
The workaround from the article seem to work here:
|
For Docker runtime users, this seems to work:
I'm working on a solution to be released with minikube v1.5.1 later this week, along with integration tests to ensure that this isn't broken in the future. For some reason, setting |
Will be removed when Minikube 1.5.1 is released
Will be removed when Minikube 1.5.1 is released
Will be removed when Minikube 1.5.1 is released
Temporary workaround for kubernetes/minikube#5751
Same things happens to me. Also take a look at #5764, as I think these are connected. |
Did you find the OS change that caused this ? Or was it just the new kernel (4.15 -> 4.19) |
All that I can see is that some of the limits have increased, from 2018.05.x to 2019.02.x i.e. "max locked memory": 16384k -> 65536k, "open files": 1048576 -> 1073741816 Not sure why, kernel docs still say the lower value:
The new number is equal to: 1024 * 1024 * 1024 - 8
i.e. the docker.service is actually requesting to be killed It used to be 64*1024 (65536), now it is |
Apparently this was "fixed" in the Docker service, but never brought to minikube: It has a different reason for lowering the value (permissions), but anyway...
And here is where the default number was raised, not by kernel but by systemd: Since "everybody" uses cgroups, it is now "OK" to increase the value by 1024.
|
Thank you so much for figuring this out and fixing it in 1.5.1. Everything was working fine for me on 1.4 last week and I upgraded to 1.5.0 and couldn't figure out what was going on. Was driving me crazy. Working again now! |
Hi,
I am trying to run
MySQL
docker container inMinikube
and I am getting an error. I've tried already withMySQL
version5.7.14
,5.7.27
,5.7.28
,8.0.18
, etc, and always the same error.On the other hand, if I use
Kubernetes
inDocker Desktop
(For Mac) or simply runMySQL
withdocker run
ordocker-compose
, I don't have any problem.I've tried to deploy
MySQL
toMinikube
using theHelm Chart
and also usingYAML
file (commands and file shown below).The exact command to reproduce the issue:
minikube start --memory='8000mb' --vm-driver='virtualbox'
p.s. I've tried also with
hyperkit
and I have the same problem.helm init
Helm command to deploy to Minikube
Yaml file deployment command
mysql-deployment.yaml
fileThe full output of the command that failed:
kubectl describe pod mysql-deployment-66f98fcdb4-dlp8x
kubectl logs -p mysql-deployment-66f98fcdb4-dlp8x
The operating system version:
Docker Desktop (for Mac) version
Minikube version
Helm version
The text was updated successfully, but these errors were encountered: