IGNITE-15459 Expanded kubernetes examples examples to include full beans. (#9378)

diff --git a/docs/_docs/code-snippets/k8s/stateful/node-configuration.xml b/docs/_docs/code-snippets/k8s/stateful/node-configuration.xml
index 562fb23..6be8a46 100644
--- a/docs/_docs/code-snippets/k8s/stateful/node-configuration.xml
+++ b/docs/_docs/code-snippets/k8s/stateful/node-configuration.xml
@@ -15,12 +15,12 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<!-- tag::config-block[] -->
 <beans xmlns="http://www.springframework.org/schema/beans"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://www.springframework.org/schema/beans
     http://www.springframework.org/schema/beans/spring-beans.xsd">
 
-    <!-- tag::config-block[] -->
     <bean class="org.apache.ignite.configuration.IgniteConfiguration">
 
         <property name="workDirectory" value="/ignite/work"/>
@@ -55,5 +55,5 @@
         </property>
 
     </bean>
-    <!-- end::config-block[] -->
 </beans>
+<!-- end::config-block[] -->
diff --git a/docs/_docs/code-snippets/k8s/stateless/node-configuration.xml b/docs/_docs/code-snippets/k8s/stateless/node-configuration.xml
index 3464595..ae2d484 100644
--- a/docs/_docs/code-snippets/k8s/stateless/node-configuration.xml
+++ b/docs/_docs/code-snippets/k8s/stateless/node-configuration.xml
@@ -15,13 +15,13 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
+<!-- tag::config-block[] -->
 <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="
         http://www.springframework.org/schema/beans
         http://www.springframework.org/schema/beans/spring-beans.xsd">
 
-    <!-- tag::config-block[] -->
     <bean class="org.apache.ignite.configuration.IgniteConfiguration">
 
         <property name="discoverySpi">
@@ -39,5 +39,5 @@
             </bean>
         </property>
     </bean>
-    <!-- end::config-block[] -->
 </beans>
+<!-- end::config-block[] -->