code: def _create_kubelet_prometheus_instance(self, instance):
          
          kubelet_instance = deepcopy(instance)
          kubelet_instance.update(
              {
                  'namespace': self.NAMESPACE,
                  # We need to specify a prometheus_url so the base class can use it as the key for our config_map,
                  # we specify a dummy url that will be replaced in the `check()` function. We append it with "kubelet"
                  # so the key is different than the cadvisor scraper.
                  'prometheus_url': instance.get('kubelet_metrics_endpoint', 'dummy_url/kubelet'),
                  'metrics': [
                      {
                          'apiserver_client_certificate_expiration_seconds': 'apiserver.certificate.expiration',
                          'rest_client_requests_total': 'rest.client.requests',
                          'rest_client_request_latency_seconds': 'rest.client.latency',
                          'kubelet_runtime_operations': 'kubelet.runtime.operations',
                          'kubelet_runtime_operations_errors': 'kubelet.runtime.errors',
                          'kubelet_network_plugin_operations_latency_microseconds': 'kubelet.network_plugin.latency',
                          'kubelet_volume_stats_available_bytes': 'kubelet.volume.stats.available_bytes',
                          'kubelet_volume_stats_capacity_bytes': 'kubelet.volume.stats.capacity_bytes',
                          'kubelet_volume_stats_used_bytes': 'kubelet.volume.stats.used_bytes',
                          'kubelet_volume_stats_inodes': 'kubelet.volume.stats.inodes',
                          'kubelet_volume_stats_inodes_free': 'kubelet.volume.stats.inodes_free',
                          'kubelet_volume_stats_inodes_used': 'kubelet.volume.stats.inodes_used',
                      }
                  ],
                  # Defaults that were set when the Kubelet scraper was based on PrometheusScraper
                  'send_monotonic_counter': instance.get('send_monotonic_counter', False),
                  'health_service_check': instance.get('health_service_check', False),
              }
          )
          return kubelet_instance
docs: Create a copy of the instance and set default values.
          This is so the base class can create a scraper_config with the proper values.