Deprecated: Return type of WP_Theme::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-theme.php on line 554

Deprecated: Return type of WP_Theme::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-theme.php on line 595

Deprecated: Return type of WP_Theme::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-theme.php on line 535

Deprecated: Return type of WP_Theme::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-theme.php on line 544

Deprecated: Return type of WP_REST_Request::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/rest-api/class-wp-rest-request.php on line 960

Deprecated: Return type of WP_REST_Request::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/rest-api/class-wp-rest-request.php on line 980

Deprecated: Return type of WP_REST_Request::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/rest-api/class-wp-rest-request.php on line 992

Deprecated: Return type of WP_REST_Request::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/rest-api/class-wp-rest-request.php on line 1003

Deprecated: Return type of WP_Block_List::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 151

Deprecated: Return type of WP_Block_List::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 175

Deprecated: Return type of WP_Block_List::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 164

Deprecated: Return type of WP_Block_List::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 186

Deprecated: Return type of WP_Block_List::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 138

Deprecated: Return type of WP_Block_List::offsetExists($index) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 75

Deprecated: Return type of WP_Block_List::offsetGet($index) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 89

Deprecated: Return type of WP_Block_List::offsetSet($index, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 110

Deprecated: Return type of WP_Block_List::offsetUnset($index) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 127

Deprecated: Return type of WP_Block_List::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /www/johnmark_507/public/wp-includes/class-wp-block-list.php on line 199

Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /www/johnmark_507/public/wp-content/plugins/wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 22

Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /www/johnmark_507/public/wp-content/plugins/wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 28

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-includes/class-wp.php on line 173

Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-includes/wp-db.php on line 3030
Expose K8s service - Simple nginx demo - John Mark C
Deprecated: parse_str(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-includes/formatting.php on line 4975

Deprecated: strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/plugins/wordpress-seo/src/generators/schema-generator.php on line 176

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

John Mark Causing

System Administrator | Hosting Support Engineer

johnmarkcausing@gmail.com

Bacolod City, Philippines

+639393497018

John Mark Causing

System Administrator | Hosting Support Engineer

johnmarkcausing@gmail.com

Bacolod City, Philippines

+639393497018

Reading this article will guide us on how to setup basic steps to expose a Kubernetes service. Example: Accessing an Nginx web server from a Multipass Ubuntu VMs using Kubernetes deployment and service.

Things we need:

Deployment

Below is where we deploy a simply nginx web server with 1 replica that runs on port 8080

cat << EOF | kubectl apply -f -
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx
  labels:
    app: nginx
spec:
  replicas: 1
  selector:
    matchLabels:
      app: nginx
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        image: nginx:1.15.4
        ports:
        - containerPort: 80
EOF

Install MetalLB

The the commands below to install MetalLB. This is required for us to expose our service (access the nginx web server on our machine / not just inside the VMs (using Multipass))

Source: https://makeoptim.com/en/service-mesh/kubeadm-kubernetes-istio-setup#metallb

kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.9.6/manifests/namespace.yaml
kubectl apply -f https://raw.githubusercontent.com/metallb/metallb/v0.9.6/manifests/metallb.yaml
# On first install only
kubectl create secret generic -n metallb-system memberlist --from-literal=secretkey="$(openssl rand -base64 128)"

Get the IP addresses of your worker nodes.

kubectl get nodes -o wide

Below we got the node1 and node two IP’s (doesn’t matter if they are internal)

Now we need to set an IP range for each node. Node1 is 172.29.94.50-172.29.94.254 and Node2 is 172.29.91.50-172.29.91.254

Which means that our service can generate an IP between 172.29.94.50-172.29.94.254 and is 172.29.91.50-172.29.91.254

kubectl apply -f - <<EOF
apiVersion: v1
kind: ConfigMap
metadata:
  namespace: metallb-system
  name: config
data:
  config: |
    address-pools:
    - name: default
      protocol: layer2
      addresses:
      - 172.29.94.50-172.29.94.254
      - 172.29.91.50-172.29.91.254
EOF

You can also edit the MetalLB config by running:

kubectl edit configmap -n metallb-system

Expose the service!

The code below shows that we selected the deployment nginx , we set the type to LoadBalancer and we name the service my-service

kubectl expose deployment nginx --type=LoadBalancer --name=my-service

Check the demo

Remember we are using Multipass to create our VMs, right? The goal here is to access the service inside and outside our Multipass servers.

Inside multipass

root@k8s-master:~# curl 172.29.94.50 -n 10
<!DOCTYPE html>
<html>
<head>
<title>Welcome to nginx!</title>

Outside multipass (Windows command prompt)

Google Chrome from my Windows 10 Machine


Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71

Deprecated: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 19534

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /www/johnmark_507/public/wp-content/themes/Divi/includes/builder/module/helpers/HoverOptions.php on line 71