<p>I've just migrated to M1 Macbook and tried to deploy couchbase using Couchbase Helm Chart on Kubernetes. <a href="https://docs.couchbase.com/operator/current/helm-setup-guide.html" rel="nofollow noreferrer">https://docs.couchbase.com/operator/current/helm-setup-guide.html</a></p>
<p>But, couchbase server pod fails with message below</p>
<blockquote>
<p>Readiness probe failed: dial tcp 172.17.0.7:8091: connect: connection
refused</p>
</blockquote>
<p>Pod uses image: couchbase/server:7.0.2</p>
<p>Error from log file:</p>
<pre><code>Starting Couchbase Server -- Web UI available at http://&lt;ip&gt;:8091
and logs available in /opt/couchbase/var/lib/couchbase/logs
runtime: failed to create new OS thread (have 2 already; errno=22)
fatal error: newosproc
runtime stack:
runtime.throw(0x4d8d66, 0x9)
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/runtime/panic.go:596 +0x95
runtime.newosproc(0xc420028000, 0xc420038000)
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/runtime/os_linux.go:163 +0x18c
runtime.newm(0x4df870, 0x0)
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/runtime/proc.go:1628 +0x137
runtime.main.func1()
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/runtime/proc.go:126 +0x36
runtime.systemstack(0x552700)
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/runtime/asm_amd64.s:327 +0x79
runtime.mstart()
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/runtime/proc.go:1132
goroutine 1 [running]:
runtime.systemstack_switch()
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/runtime/asm_amd64.s:281 fp=0xc420024788 sp=0xc420024780
runtime.main()
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/runtime/proc.go:127 +0x6c fp=0xc4200247e0 sp=0xc420024788
runtime.goexit()
/home/couchbase/.cbdepscache/exploded/x86_64/go-1.8.5/go/src/runtime/asm_amd64.s:2197 +0x1 fp=0xc4200247e8 sp=0xc4200247e0
{&quot;init terminating in do_boot&quot;,{{badmatch,{error,{{shutdown,{failed_to_start_child,encryption_service,{port_terminated,normal}}},{ns_babysitter,start,[normal,[]]}}}},[{ns_babysitter_bootstrap,start,0,[{file,&quot;src/ns_babysitter_bootstrap.erl&quot;},{line,23}]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
init terminating in do_boot ({{badmatch,{error,{{_},{_}}}},[{ns_babysitter_bootstrap,start,0,[{_},{_}]},{init,start_em,1,[]},{init,do_boot,3,[]}]})
</code></pre>
<p>Any help would be appreciated.</p>

<p>It seems ARM64 version of Couchbase Server for MacOS has become available since Couchbase Server 7.1.1.</p>
<p>So, I ran the command below to install couchbase.</p>
<pre><code>helm install couchbasev1 --values myvalues.yaml couchbase/couchbase-operator
</code></pre>
<p>myvalues.yaml:</p>
<pre><code>cluster:
  image: couchbase/server:7.1.1
</code></pre>
<p> 
And it worked.</p>
