<p>I'm not able to deploy Wordpress using Rancher Catalog and bitnami/wordpress Helm Chart. MariaDB pod runs fine but wordpress pod errors out as</p>
<p><code>ReplicaSet &quot;wordpress-557fcb8469&quot; has timed out progressing.; Deployment does not have minimum availability.</code></p>
<p>Also from the wordpress pod logs:</p>
<p><code>Error executing 'postInstallation': Failed to connect to wordpress-mariadb:3306 after 36 tries</code></p>
<p>and when using the wordpress pod shell:</p>
<pre><code>I have no name!@wordpress-557fcb8469-gj585:/$ mysql -h wordpress-mariadb -u root -p
Enter password: 
ERROR 2005 (HY000): Unknown MySQL server host 'wordpress-mariadb' (-3)
</code></pre>
<p>but</p>
<pre><code>I have no name!@wordpress-557fcb8469-gj585:/$ mysql -h 10.42.0.8 -u root -p
Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 16597
Server version: 10.3.22-MariaDB Source distribution
</code></pre>
<p>Any clue what can be set wrong?</p>
<p><strong>Version of Helm and Kubernetes</strong>:</p>
<pre><code>version.BuildInfo{Version:&quot;v3.2.4&quot;, GitCommit:&quot;0ad800ef43d3b826f31a5ad8dfbb4fe05d143688&quot;, GitTreeState:&quot;clean&quot;, GoVersion:&quot;go1.13.12&quot;}
</code></pre>
<pre><code>Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;17&quot;, GitVersion:&quot;v1.17.6&quot;, GitCommit:&quot;d32e40e20d167e103faf894261614c5b45c44198&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2020-05-20T13:16:24Z&quot;, GoVersion:&quot;go1.13.9&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;18&quot;, GitVersion:&quot;v1.18.3&quot;, GitCommit:&quot;2e7996e3e2712684bc73f0dec0200d64eec7fe40&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2020-05-20T12:43:34Z&quot;, GoVersion:&quot;go1.13.9&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
</code></pre>
<p>Pods and services in the <code>wordpress</code> namespace:</p>
<pre><code>&gt; kubectl get pods,svc -owide --namespace=wordpress
    NAME                             READY   STATUS    RESTARTS   AGE    IP           NODE            NOMINATED NODE   READINESS GATES
    pod/wordpress-6647794f9b-4mmxd   0/1     Running   20         104m   10.42.0.19   dev-app   &lt;none&gt;           &lt;none&gt;
    pod/wordpress-mariadb-0          1/1     Running   1          26h    10.42.0.14   dev-app   &lt;none&gt;           &lt;none&gt;
    
    NAME                        TYPE           CLUSTER-IP      EXTERNAL-IP   PORT(S)                      AGE   SELECTOR
    service/wordpress           LoadBalancer   10.43.91.13     &lt;pending&gt;     80:30158/TCP,443:30453/TCP   26h   app.kubernetes.io/instance=wordpress,app.kubernetes.io/name=wordpress,io.cattle.field/appId=wordpress
    service/wordpress-mariadb   ClusterIP      10.43.178.123   &lt;none&gt;        3306/TCP                     26h   app=mariadb,component=master,io.cattle.field/appId=wordpress,release=wordpress
</code></pre>

<blockquote>
<p>Unknown MySQL server host 'wordpress-mariadb' (-3)</p>
</blockquote>
<p>The error indicates a DNS failure. Please review your <a href="https://rancher.com/docs/rke/latest/en/config-options/add-ons/dns/" rel="nofollow noreferrer">CoreDNS configuration</a>. Check CoreDNS logs for any errors. CoreDNS forwards external queries to the underlined node. Check the node DNS configuration in <code>/etc/resolv.conf</code> as well.</p>
